:/usr/src/mldonkey-2.7.6# ./configure Running Autoconf (autoconf)... Running m4 to generate Makefile... Arguments to configure: checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu -------------------------------- Checking system tools. -------------------------------- checking for ranlib... ranlib checking for gmake... no checking for make... make checking if make is GNU make ... yes checking for bzip2... bzip2 checking for gzip... (cached) bzip2 checking for perl... /usr/bin/perl checking for rpmbuild... no checking for rpm... no checking for wget... wget ---------------------------------------- Checking system tools finished. ---------------------------------------- -------------------------------- Checking Ocaml compiler. -------------------------------- checking for ocamlc.opt... /usr/bin/ocamlc.opt checking for ocamlc... /usr/bin/ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocamlopt... (cached) ocamlopt.opt checking for ocamldep... ocamldep checking for ocamllex.opt... ocamllex.opt checking for ocamllex... (cached) ocamllex.opt checking for ocamlyacc... ocamlyacc checking for ocamldoc... ocamldoc checking for ocamlmktop... ocamlmktop checking for camlp4... camlp4 ------------------------------------------- Checking Ocaml 3.09.1 finished. ------------------------------------------- ---------------------------------- Checking system headers. ---------------------------------- checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking for egrep... grep -E 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 int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for void *... yes checking size of void *... 4 checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for float... yes checking size of float... 4 checking for double... yes checking size of double... 8 checking for setrlimit... yes checking for getrlimit... yes checking for strerror_r... yes checking for strerror... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/types.h... (cached) yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/ip.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for poll... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes ------------------------------------------- Checking system headers finished. ------------------------------------------- ----------------------------------- Checking system libraries. ----------------------------------- ----- checking zlib (required) checking for inflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for zlibVersion in -lz... yes ----- checking bzlib (optional) checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for BZ2_bzlibVersion in -lbz2... yes ----- checking libmagic (GNU file) (optional) checking magic.h usability... no checking magic.h presence... no checking for magic.h... no configure: libmagic not available ----- checking gd (optional) checking for gdlib-config... gdlib-config checking for libgd > 2.0.14... 2.0.33 checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for gdImageCreate in -lgd... yes checking for libpng-config... libpng-config checking for png_create_read_struct in -lpng... yes checking for gdImagePng in -lgd... yes checking for png support in libgd... yes checking for png_access_version_number in -lpng... yes checking for jpeg_CreateCompress in -ljpeg... yes checking for gdImageJpeg in -lgd... yes checking for jpeg support in libgd... yes ----- checking iconv (optional) checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for locale_charset... no configure: found nl_langinfo(CODESET) checking for locale_charset in -lcharset... no checking libcharset.h usability... no checking libcharset.h presence... no checking for libcharset.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes ----- checking thread support (optional, strongly advised) checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc ----- GNU C Library version checking linux/limits.h usability... yes checking linux/limits.h presence... yes checking for linux/limits.h... yes checking gnu/libc-version.h usability... yes checking gnu/libc-version.h presence... yes checking for gnu/libc-version.h... yes checking for GNU C Library version... 2.3.6 --------------------------------------------- Checking system libraries finished. --------------------------------------------- -------------------------------------- Checking activated networks. -------------------------------------- checking eDonkey... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for g++... g++ checking eMule SUI... yes checking BitTorrent... yes checking FileTP... yes checking Gnutella... yes checking G2... yes checking Fasttrack... yes ----------------------------------------------- Checking activated networks finished. ----------------------------------------------- configure: creating ./config.status config.status: creating Makefile.config config.status: creating mldonkey.rc config.status: creating ../src/utils/lib/autoconf.ml.new config.status: creating ../src/utils/lib/gAutoconf.ml.new config.status: creating ../src/utils/lib/magic.ml config.status: creating ../src/networks/donkey/donkeySui.ml config.status: creating ../src/daemon/driver/driverGraphics.ml config.status: creating ../packages/rpm/mldonkey.spec config.status: creating ../packages/rpm/Makefile config.status: creating ../packages/slackware/mldonkey.options config.status: creating ../packages/windows/mlnet.nsi config.status: creating config.h Building dependencies (if it blocks, try 'make depend' to see the problem) Configuring MLDonkey 2.7.6 completed. Network modules: - eDonkey enabled (eMule SUI enabled) - BitTorrent enabled - FileTP (aka wget) enabled - Fasttrack enabled - Gnutella enabled - Gnutella2 enabled - Open Napster disabled - currently not usable - Direct Connect disabled - currently not usable - Soulseek disabled - currently not usable - OpenFT disabled - currently not usable Core features: - threads enabled - zlib enabled - bzip2 enabled - iconv enabled - libmagic disabled - graphical stats enabled - png support enabled - jpg support enabled Compilers: - Ocaml version 3.09.1 - gcc version 4.0.4 - g++ version 4.0.4 Now execute 'make' to start compiling. Good luck! To compile a static code execute: make mlnet.static To produce a release tarball execute: make release.mlnet.static To clean the build directory execute: make maintainerclean Compiling CryptoPP.cc can take several minutes, on slow machines up to half an hour.