Hi,
I'm trying to install an amuled with amuleweb on my father's computer, where I don't have root access (well, I do know the password, but I'm not supposed to install anything as root).
This is a Gentoo Linux machine, and the following (possibly relevant) packages are already installed:
malte@freya malte $ qpkg -i amule
net-p2p/amule-2.0.0_rc7 *
aMule, the all-platform eMule p2p client [ http://www.amule.org/ ]
net-p2p/amule-2.0.0_rc5
aMule, the all-platform eMule p2p client [ http://www.amule.org/ ]
net-p2p/amule-2.0.0_rc7
aMule, the all-platform eMule p2p client [ http://www.amule.org/ ]
net-p2p/amule-1.2.8
aMule, the all-platform eMule p2p client [ http://www.amule.org ]
net-p2p/amule-2.0.0_rc6
aMule, the all-platform eMule p2p client [ http://www.amule.org/ ]
malte@freya malte $ qpkg -i wxGTK
x11-libs/wxGTK-2.4.2-r3 *
GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit [ http://www.wxwidgets.org/ ]
x11-libs/wxGTK-2.5.3
GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit [ http://www.wxwidgets.org/ ]
x11-libs/wxGTK-2.4.2-r2
GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit [ http://www.wxwidgets.org/ ]
x11-libs/wxGTK-2.6.0-r1
GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and
wxbase non-gui library [ http://www.wxwidgets.org/ ]
x11-libs/wxGTK-2.4.2-r3
GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit [ http://www.wxwidgets.org/ ]
The * means that a package is installed. In short, the packages installed are:
amule-2.0.0_rc7
wxGTK-2.4.2-r3
The installed amule is, however, only the monolithic application without amuled or amuleweb (obviously, since there is no wxGTK >= 2.5)
So, first thing I had to do was install wxWidgets 2.6.0 in my $HOME directory.
So I did a
malte@freya wxGTK-2.6.0 $ ./configure --prefix=$HOME/wxGTK --disable-gtk2 --with-gtk
...and then compiled and installed wxWidgets, which worked great.
Maybe this is of interest:
malte@freya malte $ ls ~/wxGTK/lib
libwx_base-2.6.so libwx_base_xml-2.6.so libwx_gtk_core-2.6.so libwx_gtk_media-2.6.so libwx_gtk_xrc-2.6.so
libwx_base-2.6.so.0 libwx_base_xml-2.6.so.0 libwx_gtk_core-2.6.so.0 libwx_gtk_media-2.6.so.0 libwx_gtk_xrc-2.6.so.0
libwx_base-2.6.so.0.0.0 libwx_base_xml-2.6.so.0.0.0 libwx_gtk_core-2.6.so.0.0.0 libwx_gtk_media-2.6.so.0.0.0 libwx_gtk_xrc-2.6.so.0.0.0
libwx_base_net-2.6.so libwx_gtk_adv-2.6.so libwx_gtk_html-2.6.so libwx_gtk_qa-2.6.so wx
libwx_base_net-2.6.so.0 libwx_gtk_adv-2.6.so.0 libwx_gtk_html-2.6.so.0 libwx_gtk_qa-2.6.so.0
libwx_base_net-2.6.so.0.0.0 libwx_gtk_adv-2.6.so.0.0.0 libwx_gtk_html-2.6.so.0.0.0 libwx_gtk_qa-2.6.so.0.0.0
Now I configured amule as follows:
./configure --prefix=$HOME --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --with-wx-prefix=/home/freyagard/malte/wxGTK
It compiles and install without any problems, but I get the following error when I try to run amuled:
malte@freya malte $ ~/bin/amuled
/home/freyagard/malte/bin/amuled: error while loading shared libraries: libwx_base-2.6.so.0: cannot open shared object file: No such file or directory
It looks like amuled can't find the wxWidgets libs, although I configured it with --with-wx-prefix=/home/freyagard/malte/wxGTK; what else could I do?
If anyone could help me with this, I'd be very happy

But wait... there's more!
I thought to myself, If amuled won't find the libraries, why don't I just link them statically? That way it's even a bit faster and I can get rid of that ~/wxGTK directory, so it can't be all that bad.
Thus, I configured amule again (after a make distclean):
malte@freya aMule-2.0.1 $ ./configure --prefix=$HOME --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --with-wx-prefix=/home/freyagard/malte/wxGTK --enable-static
...
checking whether we need the GUI... no
checking for wx-config... /home/freyagard/malte/wxGTK/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.6.0)
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
Warning: No config found to match: /home/freyagard/malte/wxGTK/bin/wx-config --prefix=/home/freyagard/malte/wxGTK --static --libs base,net
in /home/freyagard/malte/wxGTK/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
configure: WARNING: Disabling taskbar icon support as we have no GUI.
checking whether to use embedded Crypto... yes
...
Configure script has finished system check.
Configured aMule 2.0.1 for 'x86_64-unknown-linux'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /home/freyagard/malte
Should aMule be compiled in debug mode? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with taskbar icon support? no
Should aMule be compiled with old GTK taskbar icon? no
Should aMule be compiled with UTF-8 taskbar icon support? no
Should aMule be linked against patched gsocket? no
Should aMule monolithic application be built? no
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
Should aMule GUI Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? yes
Should aMule WebServer GUI be built? no
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.6.0
crypto++ embedded
libpng 1.2.8
zlib 1.2.2
Albeit configure does run fine, except for that little warning over there from wx-config, I get the following error when I try to compile it:
malte@freya aMule-2.0.1 $ make
make all-recursive
make[1]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1'
Making all in m4
make[2]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/m4'
Making all in intl
make[2]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/intl'
Making all in po
make[2]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/po'
Making all in docs
make[2]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/docs'
Making all in man
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/docs/man'
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/docs'
make[2]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/docs'
Making all in src
make[2]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src'
Making all in utils
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils'
Making all in xas
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils/xas'
Making all in docs
make[5]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils/xas/docs'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils/xas/docs'
make[5]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils/xas'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils/xas'
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils/xas'
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils'
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/utils'
Making all in pixmaps
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/pixmaps'
Making all in kademlia
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia'
Making all in io
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/io'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/io'
Making all in kademlia
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/kademlia'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/kademlia'
Making all in net
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/net'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/net'
Making all in routing
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/routing'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/routing'
Making all in utils
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/utils'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia/utils'
make[4]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia'
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/kademlia'
Making all in webserver
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/webserver'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src/webserver'
make[3]: Entering directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-WebServer.o -MD -MP -MF ".deps/amuleweb-WebServer.Tpo" -c -o amuleweb-WebServer.o `test -f 'WebServer.cpp' || echo './'`WebServer.cpp; \
then mv -f ".deps/amuleweb-WebServer.Tpo" ".deps/amuleweb-WebServer.Po"; else rm -f ".deps/amuleweb-WebServer.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-WebInterface.o -MD -MP -MF ".deps/amuleweb-WebInterface.Tpo" -c -o amuleweb-WebInterface.o `test -f 'WebInterface.cpp' || echo './'`WebInterface.cpp; \
then mv -f ".deps/amuleweb-WebInterface.Tpo" ".deps/amuleweb-WebInterface.Po"; else rm -f ".deps/amuleweb-WebInterface.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-WebSocket.o -MD -MP -MF ".deps/amuleweb-WebSocket.Tpo" -c -o amuleweb-WebSocket.o `test -f 'WebSocket.cpp' || echo './'`WebSocket.cpp; \
then mv -f ".deps/amuleweb-WebSocket.Tpo" ".deps/amuleweb-WebSocket.Po"; else rm -f ".deps/amuleweb-WebSocket.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-MD5Sum.o -MD -MP -MF ".deps/amuleweb-MD5Sum.Tpo" -c -o amuleweb-MD5Sum.o `test -f 'MD5Sum.cpp' || echo './'`MD5Sum.cpp; \
then mv -f ".deps/amuleweb-MD5Sum.Tpo" ".deps/amuleweb-MD5Sum.Po"; else rm -f ".deps/amuleweb-MD5Sum.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-ECSocket.o -MD -MP -MF ".deps/amuleweb-ECSocket.Tpo" -c -o amuleweb-ECSocket.o `test -f 'ECSocket.cpp' || echo './'`ECSocket.cpp; \
then mv -f ".deps/amuleweb-ECSocket.Tpo" ".deps/amuleweb-ECSocket.Po"; else rm -f ".deps/amuleweb-ECSocket.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-ExternalConnector.o -MD -MP -MF ".deps/amuleweb-ExternalConnector.Tpo" -c -o amuleweb-ExternalConnector.o `test -f 'ExternalConnector.cpp' || echo './'`ExternalConnector.cpp; \
then mv -f ".deps/amuleweb-ExternalConnector.Tpo" ".deps/amuleweb-ExternalConnector.Po"; else rm -f ".deps/amuleweb-ExternalConnector.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-ECPacket.o -MD -MP -MF ".deps/amuleweb-ECPacket.Tpo" -c -o amuleweb-ECPacket.o `test -f 'ECPacket.cpp' || echo './'`ECPacket.cpp; \
then mv -f ".deps/amuleweb-ECPacket.Tpo" ".deps/amuleweb-ECPacket.Po"; else rm -f ".deps/amuleweb-ECPacket.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-OtherFunctions.o -MD -MP -MF ".deps/amuleweb-OtherFunctions.Tpo" -c -o amuleweb-OtherFunctions.o `test -f 'OtherFunctions.cpp' || echo './'`OtherFunctions.cpp; \
then mv -f ".deps/amuleweb-OtherFunctions.Tpo" ".deps/amuleweb-OtherFunctions.Po"; else rm -f ".deps/amuleweb-OtherFunctions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-ECSpecialTags.o -MD -MP -MF ".deps/amuleweb-ECSpecialTags.Tpo" -c -o amuleweb-ECSpecialTags.o `test -f 'ECSpecialTags.cpp' || echo './'`ECSpecialTags.cpp; \
then mv -f ".deps/amuleweb-ECSpecialTags.Tpo" ".deps/amuleweb-ECSpecialTags.Po"; else rm -f ".deps/amuleweb-ECSpecialTags.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-StringFunctions.o -MD -MP -MF ".deps/amuleweb-StringFunctions.Tpo" -c -o amuleweb-StringFunctions.o `test -f 'StringFunctions.cpp' || echo './'`StringFunctions.cpp; \
then mv -f ".deps/amuleweb-StringFunctions.Tpo" ".deps/amuleweb-StringFunctions.Po"; else rm -f ".deps/amuleweb-StringFunctions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-NetworkFunctions.o -MD -MP -MF ".deps/amuleweb-NetworkFunctions.Tpo" -c -o amuleweb-NetworkFunctions.o `test -f 'NetworkFunctions.cpp' || echo './'`NetworkFunctions.cpp; \
then mv -f ".deps/amuleweb-NetworkFunctions.Tpo" ".deps/amuleweb-NetworkFunctions.Po"; else rm -f ".deps/amuleweb-NetworkFunctions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/freyagard/malte/wxGTK/lib/wx/include/gtk-ansi-release-2.6 -I/home/freyagard/malte/wxGTK/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 -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/home/freyagard/malte/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -MT amuleweb-Format.o -MD -MP -MF ".deps/amuleweb-Format.Tpo" -c -o amuleweb-Format.o `test -f 'Format.cpp' || echo './'`Format.cpp; \
then mv -f ".deps/amuleweb-Format.Tpo" ".deps/amuleweb-Format.Po"; else rm -f ".deps/amuleweb-Format.Tpo"; exit 1; fi
g++ -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -static -lpthread -o amuleweb amuleweb-WebServer.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-MD5Sum.o amuleweb-ECSocket.o amuleweb-ExternalConnector.o amuleweb-ECPacket.o amuleweb-OtherFunctions.o amuleweb-ECSpecialTags.o amuleweb-StringFunctions.o amuleweb-NetworkFunctions.o amuleweb-Format.o -lz -lreadline -lcurses -L/usr/lib -Wl,-rpath,/usr/lib -lpng12 -lz -lm -lpng12 -lz -lm -lpng -lbfd -liberty
/usr/lib/libreadline.a(complete.o)(.text+0x1bc9): In function `rl_username_completion_function':
: warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libreadline.a(tilde.o)(.text+0x4ef): In function `tilde_expand_word':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libreadline.a(shell.o)(.text+0x10b): In function `sh_get_home_dir':
: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libreadline.a(complete.o)(.text+0x1bc4): In function `rl_username_completion_function':
: warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libreadline.a(complete.o)(.text+0x1c64): In function `rl_username_completion_function':
: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
amuleweb-WebServer.o(.text+0xec0): In function `_SpecialChars(wxString)':
/home/freyagard/malte/aMule-2.0.1/src/WebServer.cpp:114: undefined reference to `wxString::Replace(char const*, char const*, bool)'
amuleweb-WebServer.o(.text+0xed7):/home/freyagard/malte/aMule-2.0.1/src/WebServer.cpp:115: undefined reference to `wxString::Replace(char const*, char const*, bool)'
...and it goes on with erros like this for VERY long, until
/home/freyagard/malte/wxGTK/include/wx-2.6/wx/string.h:326: undefined reference to `wxStringBase::InitWith(char const*, unsigned long, unsigned long)'
amuleweb-Format.o(.gnu.linkonce.t._ZgtRK8wxStringPKc+0x5): In function `operator>(wxString const&, char const*)':
/home/freyagard/malte/wxGTK/include/wx-2.6/wx/string.h:1430: undefined reference to `wxString::Cmp(char const*) const'
collect2: ld returned 1 exit status
make[3]: *** [amuleweb] Error 1
make[3]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/home/freyagard/malte/aMule-2.0.1'
Clearly, it has something to do with that --enable-static option.
Also consider the following outputs
malte@freya malte $ ~/wxGTK/bin/wx-config --prefix=/home/freyagard/malte/wxGTK --libs base,net
-L/home/freyagard/malte/wxGTK/lib -pthread -lwx_base-2.6 -lwx_base_net-2.6
malte@freya malte $ ~/wxGTK/bin/wx-config --prefix=/home/freyagard/malte/wxGTK --static --libs base,net
Warning: No config found to match: /home/freyagard/malte/wxGTK/bin/wx-config --prefix=/home/freyagard/malte/wxGTK --static --libs base,net
in /home/freyagard/malte/wxGTK/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
Any ideas? ?(
I would be great if anyone could help with either one of the two problems, though I'm really curious about both

Thanks!
Malte