aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: can't install with debian  (Read 7920 times)

Guest

  • Guest
can't install with debian
« 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
Logged

big_julius

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: can't install with debian
« Reply #1 on: July 12, 2004, 10:43:10 AM »

Don't you ommit typing ldconfig?
Logged

Guest

  • Guest
Re: can't install with debian
« Reply #2 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
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: can't install with debian
« Reply #3 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

Guest

  • Guest
Re: can't install with debian
« Reply #4 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?
Logged

big_julius

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: can't install with debian
« Reply #5 on: July 12, 2004, 03:15:06 PM »

chmod 777 /where/your/temp/files/are/*

That gives all rights on files to everybody. :)
Logged

Guest

  • Guest
Re: can't install with debian
« Reply #6 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
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: can't install with debian
« Reply #7 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!
Logged

shinobee

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: can't install with debian
« Reply #8 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?
« Last Edit: July 12, 2004, 09:36:34 PM by shinobee »
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: can't install with debian
« Reply #9 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!
Logged

shinobee

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: can't install with debian
« Reply #10 on: July 12, 2004, 09:35:38 PM »

yes of course
that's what I've said "I've installed everything with thermoman packages"
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: can't install with debian
« Reply #11 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!
Logged

antipop

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: can't install with debian
« Reply #12 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
Logged

shinobee

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: can't install with debian
« Reply #13 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
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: can't install with debian
« Reply #14 on: July 13, 2004, 01:25:21 AM »

antipop:
rm ~/.eMule
That will do it I believe
Greetings!
Logged
Pages: [1] 2