aMule Forum

English => Compilation problems => Topic started by: Sharkypt on December 30, 2008, 05:36:01 PM

Title: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: Sharkypt on December 30, 2008, 05:36:01 PM
Hi all,

I'm trying to compile/build amule but have a problem.

The command to compile is:
Code: [Select]
$ dpkg-buildpackage -uc -b -rfakeroot
the error:
Code: [Select]
     ...
        find debian/amule-xas/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 644
        find debian/amule-xas/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 644
        find debian/amule-xas/usr/lib/perl5 debian/amule-xas/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
        find debian/amule-xas/usr/bin -type f  -print0 2>/dev/null | xargs -0r chmod a+x
dh_builddeb: package amule-xas is not in control info
        dpkg-deb --build debian/amule-xas ..
dpkg-deb: falhou ao abrir ficheiro de informações do pacote `debian/amule-xas/DEBIAN/control' para leitura: Ficheiro ou directoria inexistente
dh_builddeb: command returned error code 512
make: ** [amule-common] Erro 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
Title: Re: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: Vollstrecker on January 01, 2009, 10:04:28 PM
For error-reporting please use LC=ALL=C dpkg-buildpackage -uc -b -rfakeroot as I can't understand the error message.
Title: Re: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: wuischke on January 01, 2009, 10:16:21 PM
Translation: dpkp-deb: Failed to open package information file "debian/amule-xas/DEBIAN/control" for reading: File or directory not existant.
Title: Re: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: Vollstrecker on January 01, 2009, 11:58:23 PM
Strange, this is an generated file. I'll have a look tomorrow afternooon.
Title: Re: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: Sharkypt on January 02, 2009, 09:09:23 PM
If you need something, tell me :-)

Many thanks for all...
Title: Re: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: Vollstrecker on January 03, 2009, 02:25:54 PM
Maybe a complete log of the build using "LC_ALL=C script -c dpkg-buil...." Which debian dir are you using? The one shipped with the tarball works fine here.
Title: Re: aMule 2.2.3 on Ubuntu 8.10 (amd64)
Post by: Sharkypt on January 03, 2009, 03:40:59 PM
well, using the command:
Code: [Select]
LC_ALL=C dpkg-buildpackage -uc -b -rfakeroot
All packages compile without a problem :-P