aMule Forum

English => aMule Help => Topic started by: Guest on July 12, 2004, 10:17:59 AM

Title: can't install with debian
Post 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

Code: [Select]

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
Title: Re: can't install with debian
Post by: big_julius on July 12, 2004, 10:43:10 AM
Don't you ommit typing ldconfig?
Title: Re: can't install with debian
Post by: Guest on July 12, 2004, 01:34:28 PM
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
Title: Re: can't install with debian
Post by: deltaHF on July 12, 2004, 02:27:19 PM
remove better the crypto stuff and compile it yourself.. works always ;)
take a look at the howto

greets
Title: Re: can't install with debian
Post by: Guest on July 12, 2004, 02:53:21 PM
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
Code: [Select]

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?
Title: Re: can't install with debian
Post by: big_julius on July 12, 2004, 03:15:06 PM
chmod 777 /where/your/temp/files/are/*

That gives all rights on files to everybody. :)
Title: Re: can't install with debian
Post by: Guest on July 12, 2004, 03:30:59 PM
Quote
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
Title: Re: can't install with debian
Post by: Jacobo221 on July 12, 2004, 08:36:11 PM
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!
Title: Re: can't install with debian
Post by: shinobee on July 12, 2004, 09:01:23 PM
I meet the following error while compiling:

Code: [Select]
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?
Title: Re: can't install with debian
Post by: Jacobo221 on July 12, 2004, 09:08:31 PM
Have you followed the Debian installation howto?
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
Greetings!
Title: Re: can't install with debian
Post by: shinobee on July 12, 2004, 09:35:38 PM
yes of course
that's what I've said "I've installed everything with thermoman packages"
Title: Re: can't install with debian
Post by: Jacobo221 on July 12, 2004, 10:07:15 PM
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!
Title: Re: can't install with debian
Post by: antipop on July 12, 2004, 10:33:41 PM
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
Title: Re: can't install with debian
Post by: shinobee on July 12, 2004, 10:38:22 PM
with official testing packages, I have the following error:
Code: [Select]
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
Title: Re: can't install with debian
Post by: Jacobo221 on July 13, 2004, 01:25:21 AM
antipop:
rm ~/.eMule
That will do it I believe
Greetings!
Title: Re: can't install with debian
Post by: Jacobo221 on July 13, 2004, 01:25:48 AM
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!
Title: Re: can't install with debian
Post by: Jacobo221 on July 13, 2004, 01:26:31 AM
shinobee:
btw, the guide to compiling from scratch is here http://www.amule.org/wiki/index.php/Compilation_Installation
Title: Re: can't install with debian
Post by: antipop on July 13, 2004, 09:41:33 AM
Quote
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?
Title: Re: can't install with debian
Post by: Jacobo221 on July 13, 2004, 09:59:47 AM
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!
Title: Re: can't install with debian
Post by: antipop on July 13, 2004, 10:43:42 AM
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
Title: Re: can't install with debian
Post by: Jacobo221 on July 13, 2004, 11:31:00 AM
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!
Title: Re: can't install with debian
Post by: antipop on July 13, 2004, 01:18:40 PM
That was before, i removed the .eMule file and i got another error

Now i get this :
Code: [Select]
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
Title: Re: can't install with debian
Post by: Kry on July 13, 2004, 02:13:03 PM
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.
Title: Re: can't install with debian
Post by: antipop on July 13, 2004, 02:17:57 PM
how can i fix that?
Title: Re: can't install with debian
Post by: shinobee on July 13, 2004, 10:29:56 PM
with latest testing packages (installed with apt-get), I have the following error:
Code: [Select]
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
Title: Re: can't install with debian
Post by: Jacobo221 on July 13, 2004, 10:45:25 PM
anitpop:
Compile it on your own :-) http://wiki.amule.org
Greetings!