aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: HowTo Compile aMule in Debian  (Read 4650 times)

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
HowTo Compile aMule in Debian
« on: May 01, 2004, 11:47:28 AM »

HowTo Compile aMule in Debian

http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian

So finally, after lots of testing, I think this HowTo is really dummy-proof ;-)

What's good about compiling useing this HowTo instead of the Compiling from scratch, is that you'll save lots of disk space and (specially) because all necessary libraries are installed from binnary deb packages, instead of being self-compiled. Just take it a look if you're on Debian or Gentoo ;-)

Any comments, any suggestions, any problems... modify the page or post into the Talk section about that page.

Greetings.

P.S.: Thanks to darknox, Arathornz, guest234, parasito, maya and klando for their tests!
Logged

Arathornz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
RE: HowTo Compile aMule in Debian
« Reply #1 on: May 04, 2004, 11:25:12 AM »

at last xD how-to roolz!!! xD
congratuls..
« Last Edit: May 04, 2004, 11:35:34 AM by Arathornz »
Logged
Un saludo

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
error libcurl2-dev...... ???
« Reply #2 on: June 21, 2004, 10:20:27 AM »

your howto is perfect!!!!
but i have errors when i type :
apt-get install libwxbase2.4-dev libcurl2-dev libgtk1.2-dev libwxgtk2.4-dev libcrypto++-dev libgd2-noxpm-dev

here it is :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
libgtk1.2-dev est déjà la plus récente version disponible.
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
  libcurl2-dev: Dépend: libcurl2 (= 7.11.2-1) mais 1:7.11.2-2 devra être installé
E: Paquets défectueux

uname -a
Linux HOME 2.4.24-xfs #1 SMP Mi Feb 4 01:03:50 CET 2004 i686 GNU/Linux


i am on a live knoppix installed on my hdd (so it's a debian).... with KDE.

Could you help me???

on the web site http://packages.debian.org/testing/libs/libcurl2 there's only the 7.11.2-1 available, and synaptic told me that i have a 7.11.2-2 installed??? How is it possible??

thx...
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
some more infos
« Reply #3 on: June 21, 2004, 10:34:49 AM »

i tried to force reinstallation of libcurl2 version 7.11.2-1 via Kpackages, but found an error.. :-(

dpkg - warning: downgrading libcurl2 from 1:7.11.2-2 to 0:7.11.2-1.
(Reading database ... 78520 files and directories currently installed.)
Preparing to replace libcurl2 1:7.11.2-2 (using .../libcurl2_7.11.2-1_i386.deb) ...
Unpacking replacement libcurl2 ...
dpkg: error processing //home/guepe/Receive/aMule/libcurl2_7.11.2-1_i386.deb (--install):
 trying to overwrite `/usr/share/curl/curl-ca-bundle.crt', which is also in package libcurl3
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 //home/guepe/Receive/aMule/libcurl2_7.11.2-1_i386.deb
RESULT=1
 

aie!!!
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
solved
« Reply #4 on: June 21, 2004, 10:51:07 AM »

ininstalling libcurl3 solve the pb.. sorry for these three posts..
Logged
Sincerily

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: HowTo Compile aMule in Debian
« Reply #5 on: June 21, 2004, 03:37:54 PM »

Wow, you wer quick. I didn't even have the time to answr ;-)
Well, you probably installed the latest libcurl2 manually with dpkg pr spome application did that. That's my guess. So there was a binnary package which was newer than the sources package. If you had waited soem days for the sources package to be updated, you would have had no problems. But it's great if you could solve the problem by installing libcurl3 :-)
Greetings!
Logged

MiG

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • Forever trying to fix things up.
Still having problems to compile
« Reply #6 on: August 14, 2004, 01:22:52 PM »

Hello,

I followed the instructions in your very detailed walkthrough (wonderful job, incidentally) but I still can't compile aMule on a fresh install of Debian Sarge.

I prepared the system exactly as explained, icnluding apt-getting libcrypto++-dev from http://debian.thermoman.de/ and fixing the missing link as explained in the walkthrough.

I used

./configure --enable-optimize

as I thought optimizing could do no wrong and then

make

but I still get an error:

/usr/bin/ld: cannot find -lcrypto++
collect2: ld returned 1 exit status
make[4]: *** [amule] Error 1
make[4]: Leaving directory `/root/aMule-compile/aMule-2.0.0rc5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/aMule-compile/aMule-2.0.0rc5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/aMule-compile/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-compile/aMule-2.0.0rc5'
make: *** [all] Error 2


As far as I can tell, it seems that libcrypto++ is not properly installed somehow (!?).

Any ideas?

Best regards and salud y euros,


MiG
Logged

lucax

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: HowTo Compile aMule in Debian
« Reply #7 on: August 26, 2004, 09:58:30 AM »

I have the same problem and I don't use --enable-optimize.
Please, help us. Now I will try to compile libcrypto++ manually.
Thanks a lot.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: HowTo Compile aMule in Debian
« Reply #8 on: November 11, 2004, 09:40:53 PM »

libcrypto++-dev isn't installed. install it.
I'm sorry I hadn't answered before. during august I almost didn't read the forums (i was on hollidays) and i guess i just left this posts without reading.
Anyway, since aMule 2.0.0rc6 crypto++ isn't needed anymore, so I guess it'll just compile straight-forward. try it.
Greetings!
Logged