Install error on FreeBSD 7.0

tigershen

06-08-2008 02:39:16

I had use 0.18 on my FreeBSD 4.10 box for over 2 year,
but keep getting some problem when I try to install 0.20 on FreeBSD 7.0

net-snmp-5.4.1.2
libxml2-2.6.32
rrdtool-1.3.0_1
gcc version 4.2.1 20070719 [FreeBSD]
mysql-server-5.1.26

this is error message I got
[code1af9624c8b8]
root@245[/home/tiger/tmp/netmrg-0.20]./configure --with-xml2-include-dir=/usr/local/include/libxml2
checking build system type... i386-unknown-freebsd7.0
checking host system type... i386-unknown-freebsd7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for rrdtool... /usr/local/bin/rrdtool
checking for mysql_config... /usr/local/bin/mysql_config
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 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable -Wall... no
checking for bindtextdomain in -lintl... no
checking for dlopen in -ldl... no
checking for compress in -lz... yes
checking for pthread_create in -lpthread... yes
checking for main in -lstdc++... yes
checking for xmlParseFile in -lxml2... no
checking for xmlParseFile in -lxml2... no
checking for xmlParseFile in -lxml2... no
checking for xmlParseFile in -lxml2... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... 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 cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking list usability... yes
checking list presence... yes
checking for list... yes
checking for unistd.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for libxml/xmlmemory.h... no
configure: error: XML2 headers not found. Use --with-xml2-include-dir=<path>
[/code1af9624c8b8]


config.log
[code1af9624c8b8]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by NetMRG configure 0.20, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure --with-xml2-include-dir=/usr/local/include/libxml2

## --------- ##
## Platform. ##
## --------- ##

hostname = dns242.ntust.idv.tw
uname -m = i386
uname -r = 7.0-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1830: checking build system type
configure:1848: result: i386-unknown-freebsd7.0
configure:1870: checking host system type
configure:1885: result: i386-unknown-freebsd7.0
configure:1922: checking for a BSD-compatible install
configure:1978: result: /usr/bin/install -c
configure:1989: checking whether build environment is sane
configure:2032: result: yes
configure:2060: checking for a thread-safe mkdir -p
configure:2099: result: ./install-sh -c -d
configure:2112: checking for gawk
configure:2142: result: no
configure:2112: checking for mawk
configure:2142: result: no
configure:2112: checking for nawk
configure:2128: found /usr/bin/nawk
configure:2139: result: nawk
configure:2150: checking whether make sets $(MAKE)
configure:2171: result: yes
configure:2361: checking whether make sets $(MAKE)
configure:2382: result: yes
configure:2426: checking for rrdtool
configure:2444: found /usr/local/bin/rrdtool
configure:2457: result: /usr/local/bin/rrdtool
configure:2481: checking for mysql_config
configure:2499: found /usr/local/bin/mysql_config
configure:2512: result: /usr/local/bin/mysql_config
configure:2658: checking for g++
configure:2674: found /usr/bin/g++
configure:2685: result: g++
configure:2716: checking for C++ compiler version
configure:2723: g++ --version >&5
g++ (GCC) 4.2.1 20070719 [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2726: $? = 0
configure:2733: g++ -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
configure:2736: $? = 0
configure:2743: g++ -V >&5
g++: '-V' option must have argument
configure:2746: $? = 1
configure:2769: checking for C++ compiler default output file name
configure:2796: g++ conftest.cpp >&5
configure:2799: $? = 0
configure:2837: result: a.out
configure:2854: checking whether the C++ compiler works
configure:2864: ./a.out
configure:2867: $? = 0
configure:2884: result: yes
configure:2891: checking whether we are cross compiling
configure:2893: result: no
configure:2896: checking for suffix of executables
configure:2903: g++ -o conftest conftest.cpp >&5
configure:2906: $? = 0
configure:2930: result:
configure:2936: checking for suffix of object files
configure:2962: g++ -c conftest.cpp >&5
configure:2965: $? = 0
configure:2988: result: o
configure:2992: checking whether we are using the GNU C++ compiler
configure:3021: g++ -c conftest.cpp >&5
configure:3027: $? = 0
configure:3044: result: yes
configure:3049: checking whether g++ accepts -g
configure:3079: g++ -c -g conftest.cpp >&5
configure:3085: $? = 0
configure:3184: result: yes
configure:3218: checking for style of include used by make
configure:3246: result: GNU
configure:3271: checking dependency style of g++
configure:3362: result: gcc3
configure:3425: checking for gcc
configure:3441: found /usr/bin/gcc
configure:3452: result: gcc
configure:3690: checking for C compiler version
configure:3697: gcc --version >&5
gcc (GCC) 4.2.1 20070719 [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3700: $? = 0
configure:3707: gcc -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
configure:3710: $? = 0
configure:3717: gcc -V >&5
gcc: '-V' option must have argument
configure:3720: $? = 1
configure:3723: checking whether we are using the GNU C compiler
configure:3752: gcc -c conftest.c >&5
configure:3758: $? = 0
configure:3775: result: yes
configure:3780: checking whether gcc accepts -g
configure:3810: gcc -c -g conftest.c >&5
configure:3816: $? = 0
configure:3915: result: yes
configure:3932: checking for gcc option to accept ISO C89
configure:4006: gcc -c -g -O2 conftest.c >&5
configure:4012: $? = 0
configure:4035: result: none needed
configure:4055: checking dependency style of gcc
configure:4146: result: gcc3
configure:4166: checking how to run the C preprocessor
configure:4206: gcc -E conftest.c
configure:4212: $? = 0
configure:4243: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4249: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4282: result: gcc -E
configure:4311: gcc -E conftest.c
configure:4317: $? = 0
configure:4348: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4354: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4404: checking for a BSD-compatible install
configure:4460: result: /usr/bin/install -c
configure:4472: checking whether to enable -Wall
configure:4482: result: no
configure:4491: checking for bindtextdomain in -lintl
configure:4526: g++ -o conftest -g -O2 conftest.cpp -lintl >&5
/usr/bin/ld: cannot find -lintl
configure:4532: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char bindtextdomain ();
| int
| main ()
| {
| return bindtextdomain ();
| ;
| return 0;
| }
configure:4550: result: no
configure:4562: checking for dlopen in -ldl
configure:4597: g++ -o conftest -g -O2 conftest.cpp -ldl >&5
/usr/bin/ld: cannot find -ldl
configure:4603: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| int
| main ()
| {
| return dlopen ();
| ;
| return 0;
| }
configure:4621: result: no
configure:4633: checking for compress in -lz
configure:4668: g++ -o conftest -g -O2 conftest.cpp -lz >&5
configure:4674: $? = 0
configure:4692: result: yes
configure:4703: checking for pthread_create in -lpthread
configure:4738: g++ -o conftest -g -O2 conftest.cpp -lpthread -lz >&5
configure:4744: $? = 0
configure:4762: result: yes
configure:4843: checking for main in -lstdc++
configure:4872: g++ -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp -lstdc++ -lpthread -lz >&5
configure:4878: $? = 0
configure:4896: result: yes
configure:4910: checking for xmlParseFile in -lxml2
configure:4945: g++ -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp -lxml2 -lstdc++ -lpthread -lz >&5
/usr/bin/ld: cannot find -lxml2
configure:4951: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char xmlParseFile ();
| int
| main ()
| {
| return xmlParseFile ();
| ;
| return 0;
| }
configure:4969: result: no
configure:4985: checking for xmlParseFile in -lxml2
configure:5020: g++ -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -L/usr/lib64 conftest.cpp -lxml2 -lstdc++ -lpthread -lz >&5
/usr/bin/ld: cannot find -lxml2
configure:5026: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char xmlParseFile ();
| int
| main ()
| {
| return xmlParseFile ();
| ;
| return 0;
| }
configure:5044: result: no
configure:4985: checking for xmlParseFile in -lxml2
configure:5020: g++ -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -L/usr/lib conftest.cpp -lxml2 -lstdc++ -lpthread -lz >&5
/usr/bin/ld: cannot find -lxml2
configure:5026: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char xmlParseFile ();
| int
| main ()
| {
| return xmlParseFile ();
| ;
| return 0;
| }
configure:5044: result: no
configure:4985: checking for xmlParseFile in -lxml2
configure:5020: g++ -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -L/usr/local/lib conftest.cpp -lxml2 -lstdc++ -lpthread -lz >&5
configure:5026: $? = 0
configure:5044: result: yes
configure:5089: checking how to run the C++ preprocessor
configure:5125: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5131: $? = 0
configure:5162: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
conftest.cpp:12:28: error: ac_nonexistent.h: No such file or directory
configure:5168: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5201: result: g++ -E
configure:5230: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5236: $? = 0
configure:5267: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
conftest.cpp:12:28: error: ac_nonexistent.h: No such file or directory
configure:5273: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5311: checking for grep that handles long lines and -e
configure:5385: result: /usr/bin/grep
configure:5390: checking for egrep
configure:5468: result: /usr/bin/grep -E
configure:5473: checking for ANSI C header files
configure:5503: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5509: $? = 0
configure:5608: g++ -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -L/usr/local/lib conftest.cpp -lxml2 -lstdc++ -lpthread -lz -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm >&5
configure:5611: $? = 0
configure:5617: ./conftest
configure:5620: $? = 0
configure:5637: result: yes
configure:5647: checking for sys/wait.h that is POSIX.1 compatible
configure:5683: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5689: $? = 0
configure:5704: result: yes
configure:5714: checking whether time.h and sys/time.h may both be included
configure:5744: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5750: $? = 0
configure:5765: result: yes
configure:5789: checking for sys/types.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for sys/stat.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for stdlib.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for string.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for memory.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for strings.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for inttypes.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for stdint.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5789: checking for unistd.h
configure:5810: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5816: $? = 0
configure:5832: result: yes
configure:5871: checking cstdio usability
configure:5888: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5894: $? = 0
configure:5908: result: yes
configure:5912: checking cstdio presence
configure:5927: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5933: $? = 0
configure:5947: result: yes
configure:5975: checking for cstdio
configure:5983: result: yes
configure:5871: checking cstdlib usability
configure:5888: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5894: $? = 0
configure:5908: result: yes
configure:5912: checking cstdlib presence
configure:5927: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5933: $? = 0
configure:5947: result: yes
configure:5975: checking for cstdlib
configure:5983: result: yes
configure:5871: checking string usability
configure:5888: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5894: $? = 0
configure:5908: result: yes
configure:5912: checking string presence
configure:5927: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5933: $? = 0
configure:5947: result: yes
configure:5975: checking for string
configure:5983: result: yes
configure:5871: checking list usability
configure:5888: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5894: $? = 0
configure:5908: result: yes
configure:5912: checking list presence
configure:5927: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5933: $? = 0
configure:5947: result: yes
configure:5975: checking for list
configure:5983: result: yes
configure:5861: checking for unistd.h
configure:5867: result: yes
configure:5871: checking netinet/in.h usability
configure:5888: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
configure:5894: $? = 0
configure:5908: result: yes
configure:5912: checking netinet/in.h presence
configure:5927: g++ -E -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp
configure:5933: $? = 0
configure:5947: result: yes
configure:5975: checking for netinet/in.h
configure:5983: result: yes
configure:5998: checking for libxml/xmlmemory.h
configure:6023: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.cpp >&5
conftest.cpp:30:30: error: libxml/xmlmemory.h: No such file or directory
configure:6029: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CSTDIO 1
| #define HAVE_CSTDLIB 1
| #define HAVE_STRING 1
| #define HAVE_LIST 1
| #define HAVE_UNISTD_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| #include <libxml/xmlmemory.h>
| int
| main ()
| {
| int a = 1;
| ;
| return 0;
| }
configure:6071: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include/libxml2 conftest.cpp >&5
In file included from /usr/local/include/libxml2/libxml/parser.h:796,
from /usr/local/include/libxml2/libxml/globals.h:18,
from /usr/local/include/libxml2/libxml/threads.h:35,
from /usr/local/include/libxml2/libxml/xmlmemory.h:216,
from conftest.cpp:30:
/usr/local/include/libxml2/libxml/encoding.h:28:19: error: iconv.h: No such file or directory
In file included from /usr/local/include/libxml2/libxml/parser.h:796,
from /usr/local/include/libxml2/libxml/globals.h:18,
from /usr/local/include/libxml2/libxml/threads.h:35,
from /usr/local/include/libxml2/libxml/xmlmemory.h:216,
from conftest.cpp:30:
/usr/local/include/libxml2/libxml/encoding.h:136: error: 'iconv_t' does not name a type
/usr/local/include/libxml2/libxml/encoding.h:137: error: 'iconv_t' does not name a type
configure:6077: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CSTDIO 1
| #define HAVE_CSTDLIB 1
| #define HAVE_STRING 1
| #define HAVE_LIST 1
| #define HAVE_UNISTD_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| #include <libxml/xmlmemory.h>
| int
| main ()
| {
| int a = 1;
| ;
| return 0;
| }
configure:6071: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include conftest.cpp >&5
conftest.cpp:30:30: error: libxml/xmlmemory.h: No such file or directory
configure:6077: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CSTDIO 1
| #define HAVE_CSTDLIB 1
| #define HAVE_STRING 1
| #define HAVE_LIST 1
| #define HAVE_UNISTD_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| #include <libxml/xmlmemory.h>
| int
| main ()
| {
| int a = 1;
| ;
| return 0;
| }
configure:6071: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include conftest.cpp >&5
conftest.cpp:30:30: error: libxml/xmlmemory.h: No such file or directory
configure:6077: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CSTDIO 1
| #define HAVE_CSTDLIB 1
| #define HAVE_STRING 1
| #define HAVE_LIST 1
| #define HAVE_UNISTD_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| #include <libxml/xmlmemory.h>
| int
| main ()
| {
| int a = 1;
| ;
| return 0;
| }
configure:6071: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/libxml2 conftest.cpp >&5
conftest.cpp:30:30: error: libxml/xmlmemory.h: No such file or directory
configure:6077: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CSTDIO 1
| #define HAVE_CSTDLIB 1
| #define HAVE_STRING 1
| #define HAVE_LIST 1
| #define HAVE_UNISTD_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| #include <libxml/xmlmemory.h>
| int
| main ()
| {
| int a = 1;
| ;
| return 0;
| }
configure:6071: g++ -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include/libxml2 conftest.cpp >&5
In file included from /usr/local/include/libxml2/libxml/parser.h:796,
from /usr/local/include/libxml2/libxml/globals.h:18,
from /usr/local/include/libxml2/libxml/threads.h:35,
from /usr/local/include/libxml2/libxml/xmlmemory.h:216,
from conftest.cpp:30:
/usr/local/include/libxml2/libxml/encoding.h:28:19: error: iconv.h: No such file or directory
In file included from /usr/local/include/libxml2/libxml/parser.h:796,
from /usr/local/include/libxml2/libxml/globals.h:18,
from /usr/local/include/libxml2/libxml/threads.h:35,
from /usr/local/include/libxml2/libxml/xmlmemory.h:216,
from conftest.cpp:30:
/usr/local/include/libxml2/libxml/encoding.h:136: error: 'iconv_t' does not name a type
/usr/local/include/libxml2/libxml/encoding.h:137: error: 'iconv_t' does not name a type
configure:6077: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "NetMRG"
| #define PACKAGE_TARNAME "netmrg"
| #define PACKAGE_VERSION "0.20"
| #define PACKAGE_STRING "NetMRG 0.20"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "netmrg"
| #define VERSION "0.20"
| #define HAVE_LIBZ 1
| #define HAVE_LIBSTDC__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CSTDIO 1
| #define HAVE_CSTDLIB 1
| #define HAVE_STRING 1
| #define HAVE_LIST 1
| #define HAVE_UNISTD_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| #include <libxml/xmlmemory.h>
| int
| main ()
| {
| int a = 1;
| ;
| return 0;
| }
configure:6100: result: no
configure:6102: error: XML2 headers not found. Use --with-xml2-include-dir=<path>

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-unknown-freebsd7.0
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_cstdio=yes
ac_cv_header_cstdlib=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_list=yes
ac_cv_header_memory_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-unknown-freebsd7.0
ac_cv_lib_dl_dlopen=no
ac_cv_lib_intl_bindtextdomain=no
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_stdcpp_main=yes
ac_cv_lib_xml2_xmlParseFile=yes
ac_cv_lib_z_compress=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MYSQL_CONFIG=/usr/local/bin/mysql_config
ac_cv_path_RRDTOOL=/usr/local/bin/rrdtool
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/home/tiger/tmp/netmrg-0.20/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/home/tiger/tmp/netmrg-0.20/missing --run tar'
AUTOCONF='${SHELL} /usr/home/tiger/tmp/netmrg-0.20/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/home/tiger/tmp/netmrg-0.20/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/home/tiger/tmp/netmrg-0.20/missing --run automake-1.10'
AWK='nawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=' -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS '
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GMSGFMT=''
GMSGFMT_015=''
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LDFLAGS=' -L/usr/local/lib'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS='-lxml2 -lstdc++ -lpthread -lz -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm'
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/home/tiger/tmp/netmrg-0.20/missing --run makeinfo'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
MYSQL_CONFIG='/usr/local/bin/mysql_config'
OBJEXT='o'
PACKAGE='netmrg'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='NetMRG'
PACKAGE_STRING='NetMRG 0.20'
PACKAGE_TARNAME='netmrg'
PACKAGE_VERSION='0.20'
PATH_SEPARATOR=':'
POSUB=''
RRDTOOL='/usr/local/bin/rrdtool'
SET_MAKE=''
SHELL='/usr/local/bin/bash'
STRIP=''
USE_NLS=''
VERSION='0.20'
WWWDIR='${prefix}/var/www/netmrg'
XGETTEXT=''
XGETTEXT_015=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-unknown-freebsd7.0'
build_alias=''
build_cpu='i386'
build_os='freebsd7.0'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr/local'
host='i386-unknown-freebsd7.0'
host_alias=''
host_cpu='i386'
host_os='freebsd7.0'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /usr/home/tiger/tmp/netmrg-0.20/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "NetMRG"
#define PACKAGE_TARNAME "netmrg"
#define PACKAGE_VERSION "0.20"
#define PACKAGE_STRING "NetMRG 0.20"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "netmrg"
#define VERSION "0.20"
#define HAVE_LIBZ 1
#define HAVE_LIBSTDC__ 1
#define STDC_HEADERS 1
#define HAVE_SYS_WAIT_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CSTDIO 1
#define HAVE_CSTDLIB 1
#define HAVE_STRING 1
#define HAVE_LIST 1
#define HAVE_UNISTD_H 1
#define HAVE_NETINET_IN_H 1

configure: exit 1
[/code1af9624c8b8]

Any help would be appreciated.