Hi, folks.  While compiling the latest 3.2 CVS source tree, it fails on
htlib/strptime.c, because the GNU langinfo.h supplied in htlib conflicts
with the the libc5 nl_types.h on my Red Hat 4.2 system.  It's using
the type nl_item, which it expects nl_types.h to define, but my system
doesn't define it.  It seems to me it should use the system's langinfo.h
if at all possible, rather than one that's supplied with ht://Dig.

This seems to be becoming more of a problem, now that we're incorporating
more glibc 2.1 code into ht://Dig.  For instance, htlib/regex.{h,c} seems
to conflict with BSDI systems, from what one user reported.

Can someone think of a good, general solution to solve these problems?

For now, I've put this command in my .spec file to build ht://Dig:

        echo '#include "/usr/include/langinfo.h"' > htlib/langinfo.h

It's an ugly hack, but it works.  BSDI users also need to resort to a
hack to use the C library regex code instead of htlib/regex.{h,c}.
We need a better solution.

-- 
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

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to