On Sun, 19 Nov 2000, Geoff Hutchison wrote:

> Date: Sun, 19 Nov 2000 02:04:07 -0500 (EST)
> From: Geoff Hutchison <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [htdig3-dev] Re: HtFile directory listings
> 
> 
> OK, I finally took care of the HtFile/scandir problem. I thought I got the
> scandir() replacement working under Linux, but there were problems with
> the way it was mucking around with "private" parts of DIR structures.
> 
> But it hit me--the HtFile listings aren't used anywhere but internally.
> They don't need to be slick and sorted--they just need to work. So the
> code now uses readdir and company and should be cleaner and faster.
> 
> Please treat this snapshot as a potential pre-release. Take a look at the
> documentation, esp. the new RELEASE.html. Look for mistakes, new features
> that don't work, etc. (In other words, beat it up hard and tell me.)

It is important that it compiles on as many platforms as possible.  I have
been trying to compile 3.2x on BSDI without success.  It requires some
system header files that are nonexistent on BSDI: langinfo.h, nl_type.h,
features.h, and perhaps other files. 

First langinfo.h was included in the snapshots;  langinfo.h itself
requires nl_type.h.  Later nl_type.h was included in the snapshots, but
nl_type.h requires features.h; features.h may require other files to be
included; those files may also require yet other files ... ad infinitum:(

Here are the relevant results of gmake:
__________________________________________________________________________________
...
In file included from langinfo.h:32,
                 from strptime.c:33:
nl_types.h:22: features.h: No such file or directory
gmake[1]: *** [strptime.lo] Error 1
gmake[1]: Leaving directory
`/tmp/htdig-3.2.0b3-111900/htlib'
gmake: *** [all-recursive] Error 1
__________________________________________________________________________________


I also test compiled the latest snapshot by excluding langinfo.h from
strptime.c.  Here are the relevant results of gmake:
__________________________________________________________________________________
/tmp/htdig-3.2.0b3-111900/htlib/strptime.c:247: multiple definition of `__mon_yday'
mktime.lo:/tmp/htdig-3.2.0b3-111900/htlib/mktime.c:119: first defined here
ld: Warning: size of symbol `__mon_yday' changed from 52 to 26 in strptime.lo
gmake[1]: *** [libht.la] Error 1
gmake[1]: Leaving directory `/tmp/htdig-3.2.0b3-111900/htlib'
gmake: *** [all-recursive] Error 1
__________________________________________________________________________________


I appreciate any pointers;)

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to