aMule Forum

English => Compilation problems => Topic started by: Mr Faber on April 07, 2005, 08:47:39 AM

Title: I can't compile aMule anymore
Post by: Mr Faber on April 07, 2005, 08:47:39 AM
I can't compile aMule anymore. I have tested any version since 20050401. I am sure that my last running version was 0401 but I can't still compile it anymore. I use wxGTK 2.5.5.

I compile wxGTK with this script
Code: [Select]
rm -rf /home/user/usr/wxWidgets-cvs
make clean
./configure --enable-debug --disable-optimise --enable-debug_flag
--enable-debug_info --enable-debug_gdb --enable-gtk2 --enable-unicode
--prefix=/home/user/usr/wxWidgets-cvs CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe" CXXFLAGS="-march=pentium4 -O2 -pipe"
make
make install


I compile amule with this options
Code: [Select]
rm -rf ~/usr/amule
make clean
./configure --enable-amule-gui --disable-ed2k --enable-debug
--enable-optimize --enable-verbose --enable-amulecmd
--disable-monolithic
--with-wx-config=/home/user/usr/wxWidgets-cvs/bin/wx-config
--prefix=/home/user/usr/amule CHOST="i686-pc-linux-gnu" CFLAGS="-O2
-pipe" CXXFLAGS="-O2 -pipe"
make
make install

I get this error messages on aMule compile (install.sh 2> error.txt)
Code: [Select]
make: *** No rule to make target `clean'.  Stop.
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
configure: WARNING: Disabling taskbar icon support as we have no GUI.
0 translated messages, 459 untranslated messages.
459 translated messages.
1354 translated messages.
1354 translated messages.
1403 translated messages.
1360 translated messages.
355 translated messages, 104 untranslated messages.
1358 translated messages.
351 translated messages, 108 untranslated messages.
1358 translated messages, 41 untranslated messages.
389 translated messages, 375 untranslated messages.
348 translated messages, 111 untranslated messages.
1350 translated messages, 4 untranslated messages.
514 translated messages, 263 untranslated messages.
1354 translated messages.
1354 translated messages.
695 translated messages, 233 untranslated messages.
833 translated messages.
1348 translated messages, 6 untranslated messages.
881 translated messages, 74 untranslated messages.
741 translated messages, 139 untranslated messages.
1354 translated messages.
1354 translated messages.
851 translated messages, 198 fuzzy translations, 201 untranslated messages.
1354 translated messages.
882 translated messages.
1399 translated messages.
In file included from amule.cpp:98:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC
IS CODED
In file included from amuled.cpp:83:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC
IS CODED
In file included from BaseClient.cpp:52:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC
IS CODED
ECSpecialTags.cpp:264:4: warning: #warning TODO
ECSpecialTags.cpp:268:4: warning: #warning TODO
ECSpecialTags.cpp:461:4: warning: #warning TODO
ECSpecialTags.cpp:465:4: warning: #warning TODO
In file included from FriendList.cpp:33:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC
IS CODED
ListenSocket.cpp:827:8: warning: #warning Here should be the IDHybrid,
but we don't use it yet and I'm afraid it will break a lot  ;)
ListenSocket.cpp:833:7: warning: #warning Here should be the IDHybrid,
but we don't use it yet and I'm afraid it will break a lot  ;)
NetworkFunctions.cpp:210:2: warning: #warning deprecate this: Intenal
Events should be on a separate file
Packet.cpp:422:5: warning: #warning Endianess problem?
Packet.cpp:544:5: warning: #warning Endianess problem?
Packet.cpp:594:5: warning: #warning Endianess problem?
PartFile.cpp:342:4: warning: #warning Code for full file alloc - should
be done on thread.
PartFile.cpp:354:3: warning: #warning getsizeonly is ignored because we
do not import yet
PartFile.cpp:506:8: warning: #warning needs setfiletype string
PartFile.cpp:554:8: warning: #warning Kad
PartFile.cpp:561:9: warning: #warning Kad
PartFile.cpp:2719:5: warning: #warning We should use the IDHybrid
here... but is not implemented yet
SharedFileList.cpp:64:2: warning: #warning Theres a lot of Kad code
missing from this file and the .h that must be addressed.
SharedFileList.cpp:622:3: warning: #warning Kad
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lidn
collect2: ld returned 1 exit status
make[4]: *** [amuled] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lidn
collect2: ld returned 1 exit status
make[3]: *** [amuled] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1

Maybe Gentoo have updated some libs/tools which are important. Does anyone know the reason?

cu
Mr Faber
Title: Re: I can't compile aMule anymore
Post by: stefanero on April 07, 2005, 09:13:25 AM
hmm atleast teh last error is that idn or idn devel is missing....

maybe try to reemerge
net-dns/libidn

since amule compile still works here.....and I am also on gentoo, with wx-cvs 2.5.5 and amule-cvs
Title: Re: I can't compile aMule anymore
Post by: Mr Faber on April 07, 2005, 02:14:15 PM
Thanks, that was the problem. The lib was deinstalled through a depclean. It wasn't required in the portage file.

cu
Mr Faber