Trying to compile ht://dig on Mac OS X Server 2.0, I've encountered the following problems:

1. Configure is unable to guess the architecture of the machine. Using powerpc-apple-rhapsody5.5 as an option to configure gets the process rolling. However, the PHP and Apache configuration tools are able to guess the architecture, arriving at "powerpc-apple-darwin1.3.7" instead. This is probably not a big deal, but it would be nice not to have to specify a host type.

2. The compilation stops dead at the following point:

c++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/Library/WebServer/htdig/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/usr/include -g -O2 -Wall -fno-rtti -fno-exceptions -Wp,-MD,.deps/String.pp -c String.cc -fPIC -DPIC -o .libs/String.lo
String.cc:22: stream.h: No such file or directory
make[1]: *** [String.lo] Error 1
make: *** [all-recursive] Error 1

I've searched the system for the stream.h file and haven't found one. The Darwin distribution includes a Libstreams project, but compiling that code and adding it to the system doesn't produce a stream.h file. It does add a streams.h file. I renamed this file stream.h, and the compilation was able to proceed past the code above. Is this okay to do?

Guidance?

Cleland Early

Reply via email to