I've been happily using ht://Dig 3.1.0 and newer on Linux, but have never
been able to get it to compile under Mac OS X Server. I tried 3.1.4
tonight. After the usual replacement of config.sub and config.guess with
the versions that come with OSXS, and pointing DB2_db.cc to malloc.h which
for some reason wasn't in the headers path, I came upon this snag:
c++ -o htfuzzy -L../htlib -L../htcommon -L../db/dist -L/usr/lib Endings.o
EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o SuffixEntry.o Synonym.o
htfuzzy.o Substring.o Prefix.o ../htcommon/libcommon.a ../htlib/libht.a
../db/dist/libdb.a
/usr/bin/ld: ../htlib/libht.a(String.o) has external relocation entries in
non-writable section (__TEXT,__text) for symbols:
_write
make[1]: *** [htfuzzy] Error 1
make: *** [all] Error 1
Any ideas on what's going wrong? OSXS comes with a slightly mangled
version of gcc 2.7.2.1 modified to handle Objective C and/or the NeXT way
of life better. Most of the time I can get things to compile fine. I know
that Tenon has ported htdig to OSXS, but they've never released the
patches AFAIK, so I don't know if it was trivial or messy.
Jon
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.