Hello,
I am apparently not alone having a problem running ntop 3.0's configure
under OpenBSD 3.4. I'm including as much information as I can so maybe
someone can help us figure out what is wrong.
gd 2.0.22 installed from source in /usr/local/gd
configure args:
./configure --with-gd-root=/usr/local/gd
--with-gd-include=/usr/local/gd/include
pertinent chunk of config.log:
configure:9309: checking gd.h presence
configure:9320: gcc -E -DOPENBSD -I/usr/local/include
-I/usr/local/gd/include conftest.c
configure:9326: $? = 0
configure:9345: result: yes
configure:9381: checking for gd.h
configure:9388: result: yes
configure:9402: checking for gdImageDestroy in -lgd
configure:9433: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wn
ested-externs -fPIC -DOPENBSD -I/usr/local/include -I/usr/local/gd/include
-L/usr/local/lib -L/usr/local/gd/lib conftest.c -lgd
-lgdbm -lpcap -lpcap -lgdbm -lgd >&5
/usr/local/lib/libgd.so.2.0: undefined reference to `libiconv_open'
/usr/local/lib/libgd.so.2.0: undefined reference to `libiconv_close'
/usr/local/lib/libgd.so.2.0: undefined reference to `libiconv'
collect2: ld returned 1 exit status
configure:9436: $? = 1
configure: failed program was:
| #line 9409 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ntop"
| #define PACKAGE_TARNAME "ntop"
| #define PACKAGE_VERSION "3.0"
| #define PACKAGE_STRING "ntop 3.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "ntop"
| #define VERSION "3.0"
| #define STDC_HEADERS 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_UNISTD_H 1
| #define CFG_LITTLE_ENDIAN 1
| #define HAVE_PCAP_H 1
| #define HAVE_NET_BPF_H 1
| #define HAVE_LIBPCAP 1
| #define HAVE_GDBM_H 1
| #define HAVE_LIBGDBM 1
| #define HAVE_GD_H 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char gdImageDestroy ();
| int
| main ()
| {
| gdImageDestroy ();
| ;
| return 0;
| }
configure:9454: result: no
Any help appreciated. Thank you.
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop