susi# portinstall mldonkey-core [Updating the pkgdb in /var/db/pkg ... - 30 packages found (-0 +4) .... done] ---> Installing 'mldonkey-core-2.5.21' from a port (net/mldonkey-core) ---> Building '/usr/ports/net/mldonkey-core' ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for gettext-0.13.1_1 ===> Cleaning for gmake-3.80_2 ===> Cleaning for imake-4.3.0_2 ===> Cleaning for libtool-1.3.5_2 ===> Cleaning for libtool-1.5.6_1 ===> Cleaning for pkgconfig-0.15.0_1 ===> Cleaning for ocaml-3.08.0 ===> Cleaning for perl-5.6.1_15 ===> Cleaning for tcl-8.4.6_1,1 ===> Cleaning for freetype2-2.1.7_3 ===> Cleaning for expat-1.95.7 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for tk-8.4.6,1 ===> Cleaning for XFree86-libraries-4.3.0_7 ===> Cleaning for mldonkey-core-2.5.21 ===> Vulnerability check disabled ===> Extracting for mldonkey-core-2.5.21 >> Checksum OK for mldonkey-2.5.21.tar.gz. ===> Patching for mldonkey-core-2.5.21 ===> mldonkey-core-2.5.21 depends on executable: ocamlc - found ===> mldonkey-core-2.5.21 depends on executable: gmake - found ===> Configuring for mldonkey-core-2.5.21 configure: WARNING: you should use --build, --host, --target Arguments: --enable-pthread --enable-ocamlver=3 --disable-gui --prefix=/usr/local i386-portbld-freebsd5.2.1 --enable-pthread --enable-ocamlver=3 --disable-gui --prefix=/usr/local i386-portbld-freebsd5.2.1 checking for i386-portbld-freebsd5.2.1-gcc... cc checking for C compiler default output... 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking build system type... i386-portbld-freebsd5.2.1 checking host system type... i386-portbld-freebsd5.2.1 checking for gcc3... (cached) cc checking for i386-portbld-freebsd5.2.1-gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... cc -E checking for i386-portbld-freebsd5.2.1-ranlib... no checking for ranlib... ranlib checking for gmake... gmake checking for make... (cached) gmake checking for ocamlc.opt... /usr/local/bin/ocamlc.opt checking for ocamlc... /usr/local/bin/ocamlc.opt i386-portbld-freebsd5.2.1 Testing ocaml version checking for rpmbuild... no checking for rpm... no checking for wget... no wget.c: In function `main': wget.c:93: warning: assignment makes pointer from integer without a cast wget.c:99: error: dereferencing pointer to incomplete type wget.c:103: error: `AF_INET' undeclared (first use in this function) wget.c:103: error: (Each undeclared identifier is reported only once wget.c:103: error: for each function it appears in.) wget.c:106: error: `SOCK_STREAM' undeclared (first use in this function) Cannot compile wget.c checking for wget... no 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 ocamlmktop... ocamlmktop checking for camlp4... camlp4 checking for perl... /usr/bin/perl ocamlc version is 3.08.0 ocamlopt version is 3.08.0 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/ip.h usability... no checking netinet/ip.h presence... yes configure: WARNING: netinet/ip.h: present but cannot be compiled configure: WARNING: netinet/ip.h: check for missing prerequisite headers? configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## 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 for inflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for iconv_open in -liconv... no checking endian.h usability... no checking endian.h presence... no checking for endian.h... no You don't have endian.h and byteswap.h installed. this script will fallback on the old slower sha1 implementation see 'here' for more informations about this issue checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no You don't have endian.h and byteswap.h installed. this script will fallback on the old slower sha1 implementation see 'here' for more informations about this issue checking Additionnal includes... checking for ../src/networks/donkey... yes checking for ../src/networks/gnutella... yes checking for ../src/networks/gnutella2... yes checking for ../src/networks/bittorrent... yes checking for ../src/networks/fileTP... yes checking for ../src/networks/fasttrack... yes checking for ../src/networks/donkey... (cached) yes checking for ../src/networks/server... yes checking for ../src/im... yes checking Checking for CryptoKit... no checking for pthread_join in LIBS=yes with CFLAGS=... no 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... -D_THREAD_SAFE checking for cc_r... cc checking compile GTK GUI... no checking for bzip2... bzip2 checking for gzip... (cached) bzip2 checking for ../src/pic/picMain.ml... no checking for ../src/spider/spiderMain.ml... no checking for ../src/btview/btviewMain.ml... no configure: creating ./config.status config.status: creating Makefile.config config.status: creating Makefile.config.i386 config.status: creating Makefile.config.i486 config.status: creating Makefile.config.i586 config.status: creating Makefile.config.i686 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 ../packages/rpm/mldonkey.spec config.status: creating ../packages/rpm/Makefile config.status: creating ../packages/windows/mlnet.nsi config.status: creating config.h Building dependencies Building dependencies fails: try: 'make depend' or 'gmake depend' The following modules will not be compiled: { audio_galaxy(obsolete) open_napster direct_connect soulseek openFT(obsolete) mldonkey_gui$(EXE) mldonkey_gui2$(EXE) mlchat$(EXE) } ===> Building for mldonkey-core-2.5.21 /usr/local/bin/ocamlc.opt -I tools/zoggy -I +camlp4 -pp "camlp4 pa_o.cmo pr_dump.cmo" -a -o pa_zog.cma tools/zoggy/zog_types.ml tools/zoggy/zog_messages.ml tools/zoggy/zog_misc.ml tools/zoggy/pa_zog.ml File "tools/zoggy/pa_zog.ml", line 502, characters -72--44: use of antiquotation syntax deprecated since version 3.05 File "tools/zoggy/pa_zog.ml", line 42, characters 40-41: This expression has type int but is here used with type Lexing.position gmake: *** [pa_zog.cma] Error 2 *** Error code 2 Stop in /usr/ports/net/mldonkey-core. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall561.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net/mldonkey-core (compiler error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed susi#