Hi, I'm having problems installing htdig3.1.6 on a FreeBSD system, having previously installed it with no problems at all on Linux. The problems are with getopt.h (and possibly wait.h, too)
My gcc is 2.95.2 ./configure reports no problem finding getopt: >checking for getopt.h... (cached) yes but make first generates a stream of warning messages: >/usr/lib/libc.so: WARNING! setkey(3) not present in the system! >/usr/lib/libc.so: warning: this program uses gets(), which is unsafe. >/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() >/usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! >/usr/lib/libc.so: WARNING! encrypt(3) not present in the system! >/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() >/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid. >/usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! using mkstemp() Then fails completely: >gmake[1]: Entering directory >`/export/web/a/ecologist/htdig-3.1.6_codix/htfuzzy' >c++ -c >-DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib >-I../htcommon -I../db/dist -I../include -Wno-deprecated htfuzzy.cc >htfuzzy.cc:67: getopt.h: No such file or directory >gmake[1]: *** [htfuzzy.o] Error 1 locate shows about 50 versions of getopt.h present on the system (mostly in src directories, or applications such as mysql) but not in any of the system include directories. If I try to force the issue by deleting the 'HAVE_GETOPT' lines in config.status, then htfuzzy does appear to compile ok but htdig fails: >c++ -c >-DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib >-I../htcommon -I../db/dist -I../include -Wno-deprecated ExternalParser.cc >ExternalParser.cc:40: wait.h: No such file or directory >gmake[1]: *** [ExternalParser.o] Error 1 Any ideas on what I should try next? Thanks Graham ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

