aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: problem with make part of amule  (Read 4977 times)

Chemfy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
problem with make part of amule
« on: December 18, 2004, 10:51:17 PM »

I installed aMule with the help of this http://www.amule.org/wiki/index.php/HowTo_Compile_In_FC3#For_wxGTK-2.5.3 and everything goes fine until I get to the part of  Compilation of aMule and from there the make part after it has finished make it says:

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

And nothing works after that... What can I do ??

Thx for all your help.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: problem with make part of amule
« Reply #1 on: December 19, 2004, 02:17:15 AM »

looks like you lack libidn, allthough i didn't know aMule needed that at all :-/
try installing libidna dn libidn-devel and then run make again.

Greets!
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: problem with make part of amule
« Reply #2 on: December 19, 2004, 02:19:20 AM »

Well, you need the libidn package.

You can download it from here: http://ftp://alpha.gnu.org/pub/gnu/libidn/libidn-0.5.12.tar.gz
Logged
concordia cum veritate

Chemfy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: problem with make part of amule
« Reply #3 on: December 19, 2004, 10:30:42 AM »

Ok thx.. that helped but now when i run amule in console i get:

amule: error while loading shared libraries: libwx_gtk-2.4.so: cannot open shared object file: No such file or directory

I have looked all over google but cannot find an answer ??
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: problem with make part of amule
« Reply #4 on: December 19, 2004, 03:32:17 PM »

rpm -qa | grep wx

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*

your distri is fc3, right ? and what wxgtk did you install?

Chemfy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: problem with make part of amule
« Reply #5 on: December 19, 2004, 04:56:18 PM »

Yes I have fedora core 3
and I installed these
If you decided for wxGTK-2.4.2:

    * wxGTK-2.4.2.tar.bz2
    * wxBase-2.4.2.tar.bz2

And when I did the think there it didn't find any wx files and then I reinstalled but it still cannot find any of them... I will now try to install those unstable ones.

If you decided for wxGTK-2.5.3:

    * wxGTK-2.5.3.tar.bz2
    * wxWidgets-2.5.3-Patch02.tar.gz

Those I mean.

Hopefully it will work and thx for your help.
Logged

Chemfy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: problem with make part of amule
« Reply #6 on: December 19, 2004, 05:28:10 PM »

During the make of aMule I got while after while of these...

WebServer.cpp:1808:2: warning: #warning fix GetLastLogEntry()
WebServer.cpp:2103:2: warning: #warning fix GetLastLogEntry
WebServer.cpp:2112:2: warning: #warning fix GetLastLogEntry

and these

PartFile.cpp:372:4: warning: #warning Code for full file alloc - should be done on thread.
PartFile.cpp:389:3: warning: #warning getsizeonly is ignored because we do not import yet
PartFile.cpp:512:8: warning: #warning needs setfiletype string
PartFile.cpp:2883:3: warning: #warning Need PreviewSmallBlocks preferences.
PartFile.cpp:3043:5: warning: #warning We should use the IDHybrid here... but is not implemented yet

and other kind of warnings...
Dont know what they are ??
But in the end everything was ok...

And after make install i try to run amule it says

amule: error while loading shared libraries: libwx_gtk_xrc-2.5.so.3: cannot open shared object file: No such file or directory'

And when I again do the rpm -qa | grep wx i find nothing ??
Logged

Chemfy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: problem with make part of amule
« Reply #7 on: December 19, 2004, 05:46:33 PM »

Wohoo !! I got it up and running !!
I did something with ldconfig and now it works !!

Thx for you all for your help.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: problem with make part of amule
« Reply #8 on: December 19, 2004, 06:39:53 PM »

:D
Logged