According to [EMAIL PROTECTED]:
> 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.
I agree. I'm curious as to how the PHP and Apache packages solve this.
If it's just a matter of upgrading to the latest version of autoconf, then
we should make sure we do this too. If there's more to it than that, then
I guess we need a volunteer with autoconf experience to help with this.
> 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?
Not being familiar with Darwin or Libstreams, I can't say whether this
is OK or not. If the code crashes, though, this could be part of the
problem. Other discussions mentioned the include of stream.h was not
needed, or could be replaced with somthing else (ifstream.h perhaps?).
If so, we should add autoconf tests for these files, and make their
inclusion conditional, as we do already for many others. I think Geoff
was planning to do some Darwin testing later this month, so maybe he
can help with some of this.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
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