aMule Forum
English => Compilation problems => Topic started by: gianogli on February 24, 2006, 04:32:17 PM
-
O.S.: Linux, Slackware current with kernel 2.6.12
I've installed wxGTK 2.6.2 with:
./configure --enable-unicode --with-gtk --disable-compat24
(as I see in a thread in this forum...)
(I've also tried with a simple ./configure but the resul is the same.)
make
checkinstall (slackware package and installation)
I've installed gd 2.0.33 with:
./configure
make
checkinstall
I've tried to install aMule with:
./configure --enable-amulecmd --enable-webserver --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemon
make (without error!) ?(
When I try to check if all is OK with "make check" 3 of the 5 test fails:
Running test-collection "RangeMap" with 42 test-cases:
Test "DefaultConstructor"
Test "CopyConstructor"
Test "AssignmentOperator"
Test "Equality"
Test "Iterators"
Test "Erase"
Test "Clear"
Test "FindRange"
Test "InvalidErase"
terminate called after throwing an instance of 'CInvalidParamsEx'
/bin/sh: line 1: 24181 Aborted ${dir}$tst
FAIL: RangeMapTest
Running test-collection "Format" with 15 test-cases:
Test "ConstructorAndGetString"
terminate called after throwing an instance of 'CInvalidStateEx'
/bin/sh: line 1: 24186 Aborted ${dir}$tst
FAIL: FormatTest
Running test-collection "StringFunctions" with 1 test-cases:
Test "JoinPaths"
Running test-collection "SimpleParser" with 3 test-cases:
Test "Constructor"
Test "EmptyTokens"
Test "NormalTokens"
PASS: StringFunctionsTest
Running test-collection "NetworkFunctions" with 1 test-cases:
Test "StringIPtoUint32"
PASS: NetworkFunctionsTest
Running test-collection "FileDataIO" with 27 test-cases:
Test "CFile - Read UInt8"
terminate called after throwing an instance of 'CEOFException'
/bin/sh: line 1: 24197 Aborted ${dir}$tst
FAIL: FileDataIOTest
================================
3 of 5 tests failed
Please report to [EMAIL]admin@amule.org[/EMAIL]
================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/usr/local/src/aMule-2.1.0/unittests/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/local/src/aMule-2.1.0/unittests/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/aMule-2.1.0/unittests'
make: *** [check-recursive] Error 1
Can someone help me? :baby:
Thank's!
GiAn
-
so the make works?
just try to run it from teh src dir first,
cd src
./amule
and see if that start up, if yes forget about teh make check
-
I try to run it but when I download the .met file aMule have a "segmentation fault" and a lot of "Terminated after throwing an instance of 'wxString'" errors.
I've tried with wxGTK 2.6.2 and wxWidget 2.6.2, with different ./configure options but the result is the same.
aMule 2.0.3 work fine. It hang up with "Aborted" and "wxString" error only if the .met file don't exist.
Can you help me please? Any idea?
-
if you could post a little more error msg from teh console this would help much more then saying " i had error this and that"
post some stuff so its much more clear what you mean
-
hum. are you using --enable-stl on wx's configure?
-
If I use the --enable-stl (with --enable-unicode) option I can't compile aMule 2.1.0. The error is:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DHAVE_BFD -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -MT libmulecommon_a-MuleDebug.o -MD -MP -MF ".deps/libmulecommon_a-MuleDebug.Tpo" -c -o libmulecommon_a-MuleDebug.o `test -f 'MuleDebug.cpp' || echo './'`MuleDebug.cpp; \
then mv -f ".deps/libmulecommon_a-MuleDebug.Tpo" ".deps/libmulecommon_a-MuleDebug.Po"; else rm -f ".deps/libmulecommon_a-MuleDebug.Tpo"; exit 1; fi
MuleDebug.cpp: In function `wxString get_backtrace(unsigned int)':
MuleDebug.cpp:378: error: ambiguous overload for 'operator+' in 'wxMBConv::cMB2WX(const char*) const(s_file_name) + wxString::Format(const wxChar*, ...)(s_line_number)'
/usr/local/include/wx-2.6/wx/string.h:935: note: candidates are: wxString operator+(const wxString&, const wxString&)
/usr/local/include/wx-2.6/wx/string.h:937: note: wxString operator+(const wxString&, wxChar)
/usr/local/include/wx-2.6/wx/string.h:939: note: wxString operator+(wxChar, const wxString&)
/usr/local/include/wx-2.6/wx/string.h:941: note: wxString operator+(const wxString&, const wxChar*)
/usr/local/include/wx-2.6/wx/string.h:943: note: wxString operator+(const wxChar*, const wxString&)
make[4]: *** [libmulecommon_a-MuleDebug.o] Error 1
make[4]: Leaving directory `/usr/local/src/aMule-2.1.0/src/libs/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/aMule-2.1.0/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/aMule-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/aMule-2.1.0'
make: *** [all] Error 2
My configure options for aMule are:
--enable-amulecmd --enable-webserver --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemo
What are the right options to compile wx?
What are the differents between wxWidget and wxGTK?
Thank you for your help!
GiAn
-
In aMule:
-) ./configure => one "warning"
configure: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recomended
Configured aMule 2.1.0 for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr/local
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule monolithic application be built? yes
Should aMule daemon version be built? yes
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? embedded
**** aMule TextClient ****
Should aMule Command Line Client be built? yes
**** aMule WebServer ****
Should aMule WebServer be built? yes
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? yes
Should aMuleLinkCreator for console (alcc) be built? yes
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? yes
Should aMule GUI Statistics (wxCas) be built? yes
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.6.2
crypto++ embedded
libpng 1.2.8
libgd 2.0.33
zlib 1.2.3
-) make => no errors
-) When I try to download new server.met file I have a "segmentation fault" and a lot of "Terminated after throwing an instance of 'wxString'" errors.
Where can I find other error messages?
Thank you very much!
GiAn