Need help with C, C++, perl, python, etc?


Postby giannis » 2006-10-03 12:17

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
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)
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
# Add here commands to configure the package.
touch configure-stamp
# Add here commands to compile the package.
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,

Postby ajdlinux » 2006-10-03 21:20

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
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

Return to Programming

Who is online

Users browsing this forum: No registered users and 6 guests