aMule Forum

English => Compilation problems => Topic started by: user@ubuntu on December 17, 2008, 12:58:24 AM

Title: SVN 9262 fails for amule-utils
Post by: user@ubuntu on December 17, 2008, 12:58:24 AM
All packages compile correctly on ubuntu 8.04 (and work when installed), except for:

 debian/rules amule-utils

which fails on:

Code: [Select]
hu/man1 debian/amule-alcc/usr/share/man/fr/man1 debian/amule-alcc/usr/share/man/eu/man1 debian/amule-alcc/usr/share/man/es/man1 debian/amule-alcc/usr/share/man/de/man1 debian/amule-alcc/usr/share/doc/amule-alcc
dh_installchangelogs docs/Changelog -pamule-alcc
install -o 0 -g 0 -p -m644 debian/changelog debian/amule-alcc/usr/share/doc/amule-alcc/changelog.Debian
install -o 0 -g 0 -p -m644 docs/Changelog debian/amule-alcc/usr/share/doc/amule-alcc/changelog
dh_installdocs -pamule-alcc
install -g 0 -o 0 -m 644 -p debian/copyright debian/amule-alcc/usr/share/doc/amule-alcc/copyright
dh_install -Xlicense.txt -pamule-alcc
cp -a ./debian/tmp/usr/bin/alcc debian/amule-alcc//usr/bin/
cp: cannot stat `./debian/tmp/usr/bin/alcc': No such file or directory
dh_install: command returned error code 256
make: *** [amule-alcc-stage1] Error 1

I could not find any further references online.

Thanks for your work on this fantastic programme.

Best regards,

user
Title: Re: SVN 9262 fails for amule-utils
Post by: Vollstrecker on December 18, 2008, 11:13:24 AM
Here it works. Maybe some tools in ubuntu has a different behaviour then on debian. Could you run it again with "script -c" in front and give my the complete file.
Title: Re: SVN 9262 fails for amule-utils
Post by: user@ubuntu on December 18, 2008, 11:17:28 AM
Many thanks for your attention..

sudo script -c debian/rules amulecmd
Script started, file is amulecmd

yields no results (stops on output of help))
Title: Re: SVN 9262 fails for amule-utils
Post by: Vollstrecker on December 18, 2008, 12:54:01 PM
sudo script -c "debian/rules amule-utils"

or better fakeroot  script -c "debian/rules amule-utils"
Title: Re: SVN 9262 fails for amule-utils
Post by: user@ubuntu on December 19, 2008, 11:09:45 AM
I may actually have to go back to the repository-supplied 2.2.0 anyhow due to the super-annoying http://www.amule.org/amule/index.php?topic=15842.0 (http://www.amule.org/amule/index.php?topic=15842.0) (ubuntu hardy 32 bit)

Many thanks for your help.

Find "typescript" attached.
Title: Re: SVN 9262 fails for amule-utils
Post by: user@ubuntu on December 19, 2008, 02:44:53 PM
Regarding the bug above, is it possible to make the debian packages without upnp support to avoid the bug in libupnp? I couldn't find that option.
Title: Re: SVN 9262 fails for amule-utils
Post by: Vollstrecker on December 20, 2008, 10:51:06 AM
Sorry, but the typescript includes only what we know. Install fails for you. But the why isn't in there. I don't see how the configure-script is called or if the build of alcc fails somewhere. Please use a clean tarball.

About the removal of libupnp: No. This was initially included for testing, so all features should be enabled. You can remove what you don't need by adjusting the configure line in debian/rules, and you can get rid of the dep by removing it from debian/control.