aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 64 bit  (Read 12211 times)

stephen71

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
aMule 64 bit
« 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.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule 64 bit
« Reply #1 on: June 09, 2006, 01:15:45 PM »

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.
 
Code: [Select]
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
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule 64 bit
« Reply #2 on: June 09, 2006, 04:46:05 PM »

@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.
Logged

stephen71

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: aMule 64 bit
« Reply #3 on: June 09, 2006, 10:58:15 PM »

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............... ;( ;( ;(
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule 64 bit
« Reply #4 on: June 09, 2006, 11:13:41 PM »

Quote
@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)

Code: [Select]
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
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule 64 bit
« Reply #5 on: June 10, 2006, 12:53:49 AM »

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
Logged

stephen71

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: aMule 64 bit
« Reply #6 on: June 13, 2006, 07:38:57 PM »

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.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule 64 bit
« Reply #7 on: June 13, 2006, 07:51:49 PM »

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. ;)
Logged