aMule Forum
English => Compilation problems => Topic started by: vadim s. sabinich on December 10, 2008, 11:58:57 AM
-
1. If i need only amule as daemon, why i install many packages on our server? (dependens for wx*)
2. i setting in configure --enable-Geoip, but it dont search this libs and other, but i installed geoip from ports
3. how i may compile amule for using it in freebsd' server?
cryptopp -L. -lmuleappcore -L. -lmuleappgui -L/usr/local/lib -pthread -L/usr/local/lib -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -L/usr/local/lib -lGeoIP
./libmuleappcore.a(libmuleappcore_a-Scanner.o)(.text+0xf9f): In function `LexFree()':
: undefined reference to `yylex_destroy()'
gmake[3]: *** [amule] Ошибка 1
gmake[3]: Leaving directory `/usr/home/ftp/pub/incoming/aMule-2.2.2/src'
gmake[2]: *** [all-recursive] Ошибка 1
gmake[2]: Leaving directory `/usr/home/ftp/pub/incoming/aMule-2.2.2/src'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory `/usr/home/ftp/pub/incoming/aMule-2.2.2'
gmake: *** [all] Ошибка 2
-
i know how compile ;) i mean for amuled, but i read your answer into 1st my question..
so, ok.
I try again ;)
But, good solution from mldonkey (mldonkey-core very well for servers)
./configure --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --enable-cas --enable-alcc --enable-optimize --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config
==
f#!@ck! 8-(
amuled-StatTree.o amuled-SHAHashSet.o amuled-TerminationProcess.o amuled-TerminationProcessAmuleweb.o amuled-UserEvents.o amuled-OtherFunctions.o amuled-NetworkFunctions.o -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec -lz -L/usr/local/lib -lcryptopp -L. -lmuleappcore -L/usr/local/lib -pthread -L/usr/local/lib -lwx_baseu_net-2.8 -lwx_baseu-2.8
./libmuleappcore.a(libmuleappcore_a-Scanner.o)(.text+0xf3b): In function `LexFree()':
./Scanner.l:196: undefined reference to `yylex_destroy()'
gmake[3]: *** [amuled] Ошибка 1
gmake[3]: Leaving directory `/usr/home/ftp/pub/incoming/aMule-2.2.2/src'
gmake[2]: *** [all-recursive] Ошибка 1
gmake[2]: Leaving directory `/usr/home/ftp/pub/incoming/aMule-2.2.2/src'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory `/usr/home/ftp/pub/incoming/aMule-2.2.2'
gmake: *** [all] Ошибка 2
phobos# flex --version
flex version 2.5.4
-
Can you please unpack the aMule sources again into a clean directory and do the following:
mkdir $PWD/bin
ln -s /bin/true $PWD/bin/flex
export PATH=$PWD/bin:$PATH
./configure
gmake
If this works, your flex is broken or too old.
-
i try:
# ./configure --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config VAR=PATH=~/bin
after configuring:
[..some info skipped...]
WARNING! UPnP code has been disabled because libupnp >= 1.6.6 not found (try to use --with-libupnp-prefix=PREFIX).
# gmake
And wait.. ;)
-
You need to update flex to 2.5.9 or newer. yylex_destroy() was introduced in flex 2.5.9
http://rainforce.org/flex/flex-2-5-10.news (http://rainforce.org/flex/flex-2-5-10.news)
%flex --version
flex 2.5.35
-
Eeeaa-a-h! ;))
with solution from above all is ok
i try
# ./configure --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config VAR=PATH=~/bin
ok. now i reconfigure like i want, now 8-)
==
hmm. lets go
./configure --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config VAR=PATH=~/bin --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --disable-debug --enable-ccache --enable-optimize