aMule Forum
English => Distro-Specific Packages => Packages for older versions => Topic started by: stephen71 on June 09, 2006, 12:03:43 PM
-
Hi,
I try to install aMule for suse 10.1 64 bit but I don't found the package for this distro.
I try this package "aMule-2.1.1-1.pm.2.x86_64.rpm" but i have problems the package need this version of binutils "binutils-2.16.91.0.2-8.x86_64" and i have the new vesion "binutils-2.16.91.0.5-18x86_64".
You have some ideas?
Thanks at all.
-
Would you mind to compile a package on your own? It's not as difficult as it sounds.
First you need your system build-ready. This means you have installed all packages which are neccessary for the compilation of aMule.
This are gcc, gcc-c++, gtk, gtk-devel, zlib-devel, libpng-devel, gd-devel and wxgtk-devel which you can install via YAST.
By typing the following code into the terminal you should be able to compile a RPM for Suse 10.1.
wget [URL]http://download2.berlios.de/amule/aMule-2.1.2.tar.bz2[/URL]
rpmbuild -ta aMule-2.1.2.tar.bz2
(Please excuse any mistakes in my explanation, unfortunately didn't I use Suse for a while. Please ask should there be any problems.)
Ciao
-
@wuischke: That doesn't work because the 2.1.2 release tarball contains a CVS spec file which "shadows" the release spec file.
@stephen71: You are trying to install a 10.0 RPM on a 10.1 system. Please download the package again and make sure that the URL you are using has a 10.1 in it and not a 10.0.
-
I try to rpmbuild -ta aMule-2.1.2.tar.bz2 and after 2 hours this is the result:
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/unittests'
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/unittests'
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/unittests'
make[1]: Entering directory `/usr/src/packages/BUILD/amule-cvs'
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/pixmaps" || mkdir -p -- "/var/tmp/aMule-CVS-20060609-root-root/usr/share/pixmaps"
/usr/bin/install -c -m 644 'amule.xpm' '/var/tmp/aMule-CVS-20060609-root-root/usr/share/pixmaps/amule.xpm'
test -z "/usr/share/applications" || mkdir -p -- "/var/tmp/aMule-CVS-20060609-root-root/usr/share/applications"
/usr/bin/install -c -m 644 'amule.desktop' '/var/tmp/aMule-CVS-20060609-root-root/usr/share/applications/amule.desktop'
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
+ /usr/lib/rpm/find-lang.sh /var/tmp/aMule-CVS-20060609-root-root amule
No translations found for amule in /var/tmp/aMule-CVS-20060609-root-root
error: Bad exit status from /var/tmp/rpm-tmp.83604 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.83604 (%install)
Grunt....................
4 hours for find the dependencis files and install it and now this............... ;( ;( ;(
-
@wuischke: That doesn't work because the 2.1.2 release tarball contains a CVS spec file which "shadows" the release spec file.
I'm really sorry, I didn't know about this error. :(
Let's tray another way. (Execute this in the same directory where you've downloaded the archive)
tar xjvfo aMule-2.1.2.tar.bz2 aMule-2.1.2/aMule.spec
mv aMule-2.1.2/aMule.spec aMule.spec
rpmbuild -ba aMule.spec
-
stephen71, this last error is because gettext-devel is not installed on your system. Therefore no translations are built, but they are expected to be present => Problem.
If you really want to build aMule yourself, install gettext-devel and do it again, or use this RPM:
http://packman.iu-bremen.de/suse/10.1/x86_64/aMule-2.1.1-1.pm.2.x86_64.rpm
-
Ok. now is working.
These are the packages that I have had to install:
gtk2-devel
wxGTK-compat
wxGTK-devel
wxGTK-gl
aMule-CVS-20060612.tar.bz2
gettext-devel
and 3 hours in order to build the file .rpm with this command
rpmbuild -ta aMule-2.1.3.tar.bz2
In the directory /usr/src/packages/RPMS/x86_64 I have the file
aMule-CVS-20060612.x86_64.rpm
:D :D :D :D :D
I have already used this rpm aMule-2.1.1.1.pm.2.x86_64 but don't working for suse 10.1
Thanks a lot.
-
Is there again the cvs-spec in the release?
*checks*
Yes, it is. I guess I'll have to remind the devs before they release 2.2.0 with the same problem. ;)