Not really.
How did you configure wxWidgets? How did you configure aMule?
I think you may be missing the wxWidgets libs. But I really don't know much about Mac.
Ok then, let's start from the beginning. Downloaded vxWidgets version 2.9.1 and configured it with
./configure --disable-shared --enable-unicode --disable-debug --disable-debug_gdb --with-libiconv-prefix=/opt/local/var/macports/software/libiconv/1.13.1_0/opt/local && make -j8
I post you some excepts of the log, when it print a WARNING, none explicit error detected.
checking for sw_vers... sw_vers
configure:18644: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead.
configure: WARNING: Defaulting to the builtin regex library for Unicode build.
checking for png.h > 0.90... no
checking for png.h... (cached) no
configure: WARNING: system png library not found or too old, will use built-in instead
checking for jpeglib.h... no
configure: WARNING: system jpeg library not found, will use built-in instead
checking for tiffio.h... no
configure: WARNING: system tiff library not found, will use built-in instead
checking for pthread_mutex_timedlock... no
configure: WARNING: wxMutex::LockTimeout() will not work
checking for sys/epoll.h... no
configure: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled
checking for timezone variable in <time.h>... configure: WARNING: no timezone variable
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/Makefile
config.status: WARNING: contrib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/acorn/Makefile
config.status: WARNING: contrib/acorn/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/addtiffo/Makefile
config.status: WARNING: contrib/addtiffo/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/dbs/Makefile
config.status: WARNING: contrib/dbs/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/dbs/xtiff/Makefile
config.status: WARNING: contrib/dbs/xtiff/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/iptcutil/Makefile
config.status: WARNING: contrib/iptcutil/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/mac-cw/Makefile
config.status: WARNING: contrib/mac-cw/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/mac-mpw/Makefile
config.status: WARNING: contrib/mac-mpw/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/mfs/Makefile
config.status: WARNING: contrib/mfs/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/ojpeg/Makefile
config.status: WARNING: contrib/ojpeg/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/pds/Makefile
config.status: WARNING: contrib/pds/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/ras/Makefile
config.status: WARNING: contrib/ras/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/stream/Makefile
config.status: WARNING: contrib/stream/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/tags/Makefile
config.status: WARNING: contrib/tags/Makefile.in seems to ignore the --datarootdir setting
config.status: creating contrib/win_dib/Makefile
config.status: WARNING: contrib/win_dib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating html/Makefile
config.status: WARNING: html/Makefile.in seems to ignore the --datarootdir setting
config.status: creating html/images/Makefile
config.status: WARNING: html/images/Makefile.in seems to ignore the --datarootdir setting
config.status: creating html/man/Makefile
config.status: WARNING: html/man/Makefile.in seems to ignore the --datarootdir setting
config.status: creating libtiff/Makefile
config.status: WARNING: libtiff/Makefile.in seems to ignore the --datarootdir setting
config.status: creating man/Makefile
config.status: WARNING: man/Makefile.in seems to ignore the --datarootdir setting
config.status: creating port/Makefile
config.status: WARNING: port/Makefile.in seems to ignore the --datarootdir setting
config.status: creating test/Makefile
config.status: WARNING: test/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tools/Makefile
config.status: WARNING: tools/Makefile.in seems to ignore the --datarootdir setting
Then aMule (SVN 10306). Here I have to edit the
configure, in order to avoid it to check which version of the toolkit I am using. Here is the code modified:
if test "$TOOLKIT" = "auto" ; then
# { echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
#echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6; }
#
# WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
# WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
# WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
# WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
# WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
# WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
# WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
# WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
#
WX_PORT="gtk2"
# if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
# if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
# if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
# if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
# if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
# if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
# if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
# if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
#
#
# if test "$WX_PORT" = "unknown" ; then
# { { echo "$as_me:$LINENO: error:
# Cannot detect the currently installed wxWidgets port !
# Please check your 'wx-config --cxxflags'...
# " >&5
#echo "$as_me: error:
# Cannot detect the currently installed wxWidgets port !
# Please check your 'wx-config --cxxflags'...
# " >&2;}
# { (exit 1); exit 1; }; }
# fi
{ echo "$as_me:$LINENO: result: $WX_PORT" >&5
echo "${ECHO_T}$WX_PORT" >&6; }
else
if test -z "$TOOLKIT" ; then
WX_PORT=$TOOLKIT
else
WX_PORT=$PORT
fi
fi
Then I can finally configure with:
./configure --with-wxdir=/Users/admin/Desktop/aMuleSVN/wxWidgets-2.9.1 --enable-optimize --with-crypto-prefix=/opt/local --with-gdlib-config=/opt/local/bin/gdlib-config --with-libiconv-prefix=/opt/local/var/macports/software/libiconv/1.13.1_0/opt/local/bin --enable-cas --enable-webserver --enable-amulecmd --enable-amule-gui --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemon --enable-geoip --with-geoip-lib=/opt/local/var/macports/software/libgeoip/1.4.6_0/opt/local --with-geoip-headers=/opt/local/var/macports/software/libgeoip/1.4.6_0/opt/local/include --enable-geoip-static --enable-debug
The parts of the log that i consider interesting:
checking gd.h usability... yes
checking gd.h presence... no
configure: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: gd.h: proceeding with the compiler's result
checking for gd.h... yes
checking for GeoIP_open in -lGeoIP... no
configure: WARNING:
GeoIP support has been disabled because the GeoIP libraries were not found
checking for wxWidgets version >= 2.8.8 (--unicode=yes)... yes (version 2.9.1)
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... yes
gtk2
checking if the linker (ld) is GNU ld... no
checking for bfd... no
configure: WARNING:
bfd.h not found or unusable, please install binutils development
package if you are a developer or want to help testing aMule
Configure script has finished system check.
Configured aMule SVN (rev. 10306) for 'i686-apple-darwin10.4.0'.
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? yes
Should aMule be compiled with UPnP support? yes
Should aMule be compiled with IP2country support? disabled
Should aMule monolithic application be built? yes
Should aMule daemon version be built? yes
Should aMule remote gui be built? (EXPERIMENTAL) yes
Crypto++ library/headers style? installed
**** 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
Should xas XChat2 plugin be installed? no
Should plasmaMule plasma-applet be build? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.9.1 (gtk2,static)
crypto++ 5.6.1 (installed, in /opt/local)
libupnp 1.6.6
libintl included
libpng 1.2.44
libgd 2.0.35
zlib 1.2.3
*** Warnings during configuration ***
* GeoIP support has been disabled because the GeoIP libraries were not found
* bfd.h not found or unusable, please install binutils development package ifyou are a developer or want to help testing aMule
Is something useful?