aMule Forum
English => Compilation problems => Topic started by: keefaz on July 30, 2005, 03:37:58 PM
-
Hi,
I can't compile aMule 2.0.3 with the --enable-webserver option
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-optimize \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amulecmdgui \
--enable-webserver
Result after a make :
...
...
/usr/include/c++/3.3.6/bits/stl_map.h:316: instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = wxString, _Tp = CAnyImage*, _Compare = std::less, _Alloc = std::allocator >]'
WebServer.cpp:3377: instantiated from here
WebServer.h:235: error: 'class wxString' has no member named 'GetContainerInstance'
make[3]: *** [amuleweb-WebServer.o] Erreur 1
make[3]: Leaving directory `/home/builds/pkgs/amule/aMule-2.0.3/src'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/builds/pkgs/amule/aMule-2.0.3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/builds/pkgs/amule/aMule-2.0.3'
make: *** [all] Erreur 2
I installed wxGTK-2.6.1 if that matter
If I remove --enable-webserver option, make ends with success
What could cause this make error :
'class wxString' has no member named 'GetContainerInstance'
Thanks for any pointer, suggestion
-
Ok, I recompiled wxGTK 2.6.1 without --enable-stl
Now the amule compilation is running fine