Subject: Re: [htdig3-dev] Re: scandir build problem with solaris
From: Jim Cole (firstname.lastname@example.org)
Date: Wed Sep 13 2000 - 23:02:08 PDT
Geoff Hutchison's bits of Tue, 12 Sep 2000 translated to:
>If someone could try building that as a C file on Solaris and tell me
>if it works appropriately, I'll figure out a way to get it in.
>Probably the best way to do it is to have a configure test for
>scandir and substitute that code otherwise.
Hi - There is a somewhat cleaned up version of the scandir and alphasort
code at ftp.yggdrasill.net in the /pub directory. It currently compiles
cleanly and appears to work correctly under Solaris 7 with egcs-2.91.66
and Solaris 8 with 2.95.2.
I added the code to HtFile.cc on the Solaris 7 box, wrapped in an #if
defined(sun) ... #endif, and was able to achieve a clean build. Running
the tests resulted in one failure (same as I encountered under Linux).
../htsearch/htsearch -c /home/greyleaf/build/htdig-3.2.0b3-091000/test/conf/htdi
g.conf 'words=also' > /tmp/t_htsearch6076: Simple search for 'also'
Just to be clear, I am not the author of the code in question and do not
have any idea who wrote it originally. What I am making available is simply
a cleaned up, lightly tested version of code posted to this list.
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed Sep 13 2000 - 23:04:22 PDT