aMule Forum
English => aMule Help => Topic started by: Guest on July 12, 2004, 10:17:59 AM
-
I've followed the how to to install amule but i get an error when compiling
make[2]: Entering directory `/home/antipop/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 `/home/antipop/aMule-compilation/aMule-2.0.0rc3/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/antipop/aMule-compilation/aMule-2.0.0rc3/src'
make: *** [install-recursive] Error 1
I've followed the how to to install it with debian, i install the libcrypto++ and i make the link, i checked all the other library but i don't find the problem, i searched here and the problem mostly come from people not making the link or installing the lib, but i did both
-
Don't you ommit typing ldconfig?
-
I typed it in the shell (it printed nothing, is that normal?) then i did the ./configure and make but i still got the same error
-
remove better the crypto stuff and compile it yourself.. works always ;)
take a look at the howto
greets
-
I did the hasty installation and the install si working however i still have some problems
I think it's because xMule was installed before i get errors like this one
I thought first it was because of the .met files so i renamed the old Temp folder and created a new one
Initialising aMule
*** UDP socket at 4665 (chat)
*** TCP socket at 4662
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Save ServerCount = 94 /0x5E/
Saved ServerCount endian = 94 /0x5E/
Loading temp files from /home/antipop/.xMule/Temp/*.part.met.
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
serial 4965 error_code 2 request_code 45 minor_code 0
I also need to launch amule as root, do you know how to do to give the right to anybody?
-
chmod 777 /where/your/temp/files/are/*
That gives all rights on files to everybody. :)
-
Originally posted by big_julius
chmod 777 /where/your/temp/files/are/*
That gives all rights on files to everybody. :)
I was meaning the right for everybody to launch amule.
I don't think that would solve the other problem as i'm using sudo to launch amule
-
If you have problems lunching aMule, try moving ~/.aMule and ~/.eMule to some other place and starting aMule. The go taking one-by-one each file of the old configuration back to the current files to see which one failed.
There's no problem in launching wit normal users since aMule keeps its configuration files in the user's home directory (~/.aMule and ~/.eMule), only make sure the aMule binnary (most surely at /usr/bin/amule or /usr/local&bin/amule) is universaly readable and the libs which it needs too (most surely all of this will be universaly readable).
Greetings!
-
I meet the following error while compiling:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -MT wxcas-wxcasframe.o -MD -MP -MF ".deps/wxcas-wxcasframe.Tpo" \
-c -o wxcas-wxcasframe.o `test -f 'wxcasframe.cpp' || echo './'`wxcasframe.cpp; \
then mv -f ".deps/wxcas-wxcasframe.Tpo" ".deps/wxcas-wxcasframe.Po"; \
else rm -f ".deps/wxcas-wxcasframe.Tpo"; exit 1; \
fi
wxcasframe.cpp: In member function `bool WxCasFrame::UpdateStatsPanel()':
wxcasframe.cpp:781: internal compiler error: Illegal instruction
I'm under debian testing, I've installed everything with thermoman packages.
Any idee?
-
Have you followed the Debian installation howto?
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
Greetings!
-
yes of course
that's what I've said "I've installed everything with thermoman packages"
-
In testing you should use Debian's oficial packages. Thermoman's are for Woody and only to be used in Testing if there are no Testing packages to be replaced with. So better use Debian's testing packages and recompile. Remember to do "make clean" before, or you'll get lots of linking errors.
Greetings!
-
I've moved both directories and i still can't load aMule
aMule is launching fine, i get the GUI and two error messages. One because he can't find the .xMule/Temp rep and the other one because there's no server in adresses.dat, if i press ok then aMule crashes
-
with official testing packages, I have the following error:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -MT wxcas-wxcasframe.o -MD -MP -MF ".deps/wxcas-wxcasframe.Tpo" \
-c -o wxcas-wxcasframe.o `test -f 'wxcasframe.cpp' || echo './'`wxcasframe.cpp; \
then mv -f ".deps/wxcas-wxcasframe.Tpo" ".deps/wxcas-wxcasframe.Po"; \
else rm -f ".deps/wxcas-wxcasframe.Tpo"; exit 1; \
fi
wxcasframe.cpp: In member function `bool WxCasFrame::UpdateStatsPanel()':
wxcasframe.cpp:781: internal compiler error: Illegal instruction
:(
I've tried to --reinstall
-
antipop:
rm ~/.eMule
That will do it I believe
Greetings!
-
shinobee: you seem to have a bad system configuration :-(
I' suggest you to try compiling from scratch with the generic compilation (compiling wx and crypto too). Remember to remove any Debina wx package and crypto package.
If you still have probolems, report here and join #amule in irc.freenode.net
Hope that helps. Greetings!
-
shinobee:
btw, the guide to compiling from scratch is here http://www.amule.org/wiki/index.php/Compilation_Installation
-
Originally posted by Jacobo221
antipop:
rm ~/.eMule
That will do it I believe
Greetings!
I did it too, i can't find what's the problem
If i want to reinstall what packages should i reinstall?
-
antipop:
To reinstall just remove it and recompile or reinstal package
But first, it seems like you are switching from xMuel to aMule, so better try moving ~/.xMule to some other thing like ~/.xMule.old and start aMule... if you know of any other file xMule might use rename it too. It might confict with aMule.
Greetings!
-
before installing aMule i removed xMule
I also moved every file in my home directory somwhere else, so the problem doesn't come from this
I looked a bit and the problem seems more to be coming from a library like GTK but i'm not sure what to do
-
Well, from your post above, "One because he can't find the .xMule/Temp rep"... aMule doesn't usually create xMule direcotries aorund... ;-P
Make sure, please, you have nothing left from xMule, including that directory.
Report results. Greetings!
-
That was before, i removed the .eMule file and i got another error
Now i get this :
Initialising aMule
*** UDP socket at 4665 (chat)
*** TCP socket at 4662
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Loading temp files from /home/antipop/.aMule/Temp/*.part.met.
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
serial 3820 error_code 2 request_code 45 minor_code 0
The GUI appears for less than a secnond before crashing
-
it's a gtk lib or wxgtk error. the binnary is probably linked to a different version of the lib and so you get crashes at running aMule.
-
how can i fix that?
-
with latest testing packages (installed with apt-get), I have the following error:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -MT wxcas-wxcasframe.o -MD -MP -MF ".deps/wxcas-wxcasframe.Tpo" \
-c -o wxcas-wxcasframe.o `test -f 'wxcasframe.cpp' || echo './'`wxcasframe.cpp; \
then mv -f ".deps/wxcas-wxcasframe.Tpo" ".deps/wxcas-wxcasframe.Po"; \
else rm -f ".deps/wxcas-wxcasframe.Tpo"; exit 1; \
fi
In file included from /usr/include/wx/datetime.h:1360,
from /usr/include/wx/filename.h:39,
from wxcasframe.h:45,
from wxcasframe.cpp:47:
/usr/include/wx/datetime.inl: In member function `wxDateTime
wxDateTime::GetWeekDay(wxDateTime::WeekDay, int, wxDateTime::Month, int)
const':
/usr/include/wx/datetime.inl:182: internal compiler error: Illegal instruction
-
anitpop:
Compile it on your own :-) http://wiki.amule.org
Greetings!