Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

dpkg

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
giannis

dpkg

#1 Post by giannis »

Hi there,
I'm for sure not an expert in Linux, and I have installed scratchbox platform on debian and i am trying to run an application without any luck.
The story is: My application is called pnmanager and i have succesfully downloaded all its files inside the directory.
After that I typed the following command in order to build the appropriate packages..
[sbox-SDK-PC: ~/pnmanager] > dpkg-buildpackage -d -rfakeroot.
But I get this back:
dpkg-buildpackage: source package is pnmanager
dpkg-buildpackage: source version is 1.0.0-7
dpkg-buildpackage: source changed by Kimmo Ahola <Kimmo.Ahola@vtt.fi>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.0.0-7
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/scratchbox/tools/bin/make clean
make[1]: Entering directory `/home/ntua/pnmanager'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/home/ntua/pnmanager'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b pnmanager
dpkg-source: warning: source directory `./pnmanager' is not <sourcepackage>-<upstreamversion> `pnmanager-1.0.0'
dpkg-source: building pnmanager in pnmanager_1.0.0-7.tar.gz
dpkg-source: building pnmanager in pnmanager_1.0.0-7.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/scratchbox/tools/bin/make
make[1]: Entering directory `/home/ntua/pnmanager'
make[1]: *** No rule to make target `pnmanager', needed by `all'. Stop.
make[1]: Leaving directory `/home/ntua/pnmanager'
make: *** [build-stamp] Error 2


What can i do right now; Whats wrong; Anybody has a clue? I would be very pleased if i get anything. Since i have tried many things,I'm open to all suggestions!! Please help me!

Thank you for your time,
Giannis

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#2 Post by ajdlinux »

You need to write a proper makefile with the rules that debian/rules expects, like all the commands to compile 'make all'.

Of course seeing that this has the debian files in it, you may want to ask for a compiled binary package.
Jabber: xmpp:ajdlinux@jabber.org.au
Spammers, email this: ajdspambucket@exemail.com.au

Post Reply