Bonjour à tous,
j'ai essayé de suivre le tuto du wiki pour compiler aMule CVS, mais je galère.
j'ai réussi à comiler crypto++552, wxMac aussi, mais lorsque je tape "./configure --disable-systray --disable-gtk --enable-embedded_crypto \
> --with-wx-config=../wxMac-2.8.7/build/wx-config \
> --enable-cas --enable-webserver --enable-amulecmd \
> --enable-debug --disable-optimize --with-cryptopp=/usr/local/cryptopp"
j'obtiens ceci:
checking build system type... powerpc-apple-darwin9.2.0
checking host system type... powerpc-apple-darwin9.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) awk
checking for egrep... grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for zlib >= 1.1.4... yes (version 1.2.3)
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for gdlib-config... no
configure:
WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
Please check that gdlib-config is in your default path, check out
LD_LIBRARY_PATH or equivalent variable.
Or this might also be that your gdlib-config has other name.
Please try again with --with-gdlib-config=/usr/bin/gdlib-config
(replace /usr/bin/gdlib-config with a valid path to your gdlib-config).
If you use compiled packages check if you have devel pack installed.
To download the latest version check
http://www.boutell.com/gd for sources.
checking for libpng-config... /opt/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.24)
checking for File::Copy... ok
checking whether we need the GUI... no
checking for exception-handling... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... ../wxMac-2.8.7/build/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... yes (version 2.8.7)
checking for wxWidgets static library... yes
checking if wxWidgets was built in DEBUG mode... yes
checking if wxWidgets was built in STATIC mode... yes
checking which wxWidgets toolkit was selected... mac
checking that wxWidgets has support for large files... yes
checking for crypto++ version >= 5.1... configure: error:
Specifying the cryptopp source files directory for "--with-crypto-prefix="
will not work because cryptopp uses headers with the same name of system
headers (e.g. zlib.h) and you must be able to distinguish the system
headers from cryptopp headers in an #include directive.
Please run "PREFIX=/home/YourUserName/usr/cryptopp make install" on
the cryptopp directory to properly install cryptopp in your system.
et après, si je tape "make", ca me fait ça :
make: *** No targets specified and no makefile found. Stop.
emac-bureau:amule-cvs maitedx$
merci pour toute aide ?
ps: c'est moi qui ai traduit la page wiki "how to compile aMule on Mac".