aMule Forum
English => en_Linux => Topic started by: trilian on August 04, 2004, 05:08:56 AM
-
Debian 2.6.7
I tried following http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
but i get this error with lcrypto, i can see other people has had trouple with this on slackware among others.
1 thing i was not sure on in the guide was the Note 9: <- i just need to be root user right, i dont need to change any permissions (chmod-chown)?
anyway was logged in as root when following the whole guide.
make all-recursive
make[1]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3'
Making all in .
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3'
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3'
Making all in m4
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/m4'
Making all in intl
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/intl'
Making all in po
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/po'
Making all in src
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/src'
gcc -Wall -g -ggdb -fno-inline -D__DEBUG__ -g -o cas cas-cas.o cas-functions.o cas-configfile.o cas-graphics.o -ljpeg -lfreetype -lpng12 -lz -lm -lgd -lcrypto++
/usr/bin/ld: cannot find -lcrypto++
collect2: ld returned 1 exit status
make[2]: *** [cas] Error 1
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3'
make: *** [all] Error 2
-
you're having a problem on ld reoslving some path to some library.
Reinstall the packages and make sure you left no step while following the guide ;-)
Greetings!
-
and don't compile rc3!! is very buggy... get and compile 2.0.0rc5
-
Ok so i reinstalled all the packages, this is exactly what i did.
--------------------------------------------------------------------------------
apt-get update && apt-get dist-upgrade
apt-get install --reinstall g++
apt-get install --reinstall libwxbase2.4-dev libcurl2-dev libgtk1.2-dev libwxgtk2.4-dev libcrypto++-dev libgd2-noxpm-dev
apt-get install --reinstall gettext
ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h
ofcourse i did that last time too and had no error, now it ofcourse says the file allready exists.
wget http://download.berlios.de/amule/aMule-2.0.0rc5.tar.gz
mkdir ~/aMule-compilation/ && tar xzfv aMule-2.0.0rc5.tar.gz -C ~/aMule-compilation/ && cd ~/aMule-compilation/
cd ~/aMule-compilation/aMule-2.0.0rc5/ && ./configure && make
--------------------------------------------------------------------------------
It just said the same error ?(
Any thing else i should try ?
-
And its not some old debian installation with all sorts of shit installed on it, i just installed it yesterday, and amule is the first thing i started to install. :baby:
-
unisntall packages and THEN install them. No guess why your system's LD is f***ed up, sorry :-( Could be because of anything. Just play around a little with /etc/ldconfig
Greetings!
-
hmm i dont have a file called ldconfig in /etc/
I have ldconfig in /sbin/ldconfig and the .conf file for it is in /etc/ld.so.conf
Thanks for all the help so far though !!
-
sorry, I meant /etc/ld.so.conf
ldconfig is what you have to run as root after modifying the above mentioned file ;-)
Seems like I had a reference-cross on my head for a few seconds :p
Greetings!
-
remove the deb crypto pkg and compile crypto yourself, works always ;)
-
I can see that you (Jacobo221) referred http://www.amule.org/amule/thread.php?threadid=3195&sid=
to this post. similar error though its not exactly the same error it comes with ?
Well ziofester i dont know if youll read this but if you get yours working plz post what you did, ill do the same ofcourse.
I have tryed everything alot of times, exept deltaHF's last post about compiling crypto myself :/ i had hoped id get it working without having to do that. ;(
I was just wondering though, if this don't work aint it then possible for someone else to compile it and get the compiled files from them ?
-
unistalled cripto, reinstalled and now
make all-recursive
make[1]: Entering directory `/home/mauro/Desktop/aMule-2.0.0rc5'
Making all in m4
make[2]: Entering directory `/home/mauro/Desktop/aMule-2.0.0rc5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/m4'
Making all in intl
make[2]: Entering directory `/home/mauro/Desktop/aMule-2.0.0rc5/intl'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -O2 l10nflist.c
In file included from l10nflist.c:27:
../config.h:260:1: warning: "LOCALEDIR" redefined
:4:1: warning: this is the location of the previous definition
l10nflist.c:61: warning: static declaration for `stpcpy' follows non-static
l10nflist.c:445: error: parse error before "__extension__"
l10nflist.c:448: error: parse error before '{' token
make[2]: *** [l10nflist.o] Error 1
make[2]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5'
make: *** [all] Error 2
?(
Thank you.
ziofester
-
http://www.amule.org/wiki/index.php/Compilation_Installation#Step_3:_Crypto++
-
Well for the time being i have gone back to xmule again, maby some day when there is a new lcrypto package ill try compiling amule again.
apt-get install xmule (dead i know)
Thanks for all the help. ;)
-
whats so hard compiling crypto yourself? ?(
greets
-
It's not that its hard. it's just because i don't know for sure if it would fix the problem, and i also kinda would like to keep all of debian able to update with apt-get.
ill properbly try again when i have more time for it.
-
use thermoman's apt-get repository then. I has aMule, wxWidgets and Crypto debian packages.
Greetings!