[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: BeOS build broken for 2.0-devel tree. (ITS#403)



At 05:25 PM 12/17/99 GMT, allen@driversoft.com wrote:
>Full_Name: Allen Reese
>Version: 2.0-devel
>OS: BeOS R4.5
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (207.135.128.3)
>
>
>There are minor problems building under BeOS.

In general, platform specific tests (such as for -D_BeOS_) are
to be avoided as the behavior of even to R4.5 systems may not
be consistent (in the fact of 3rd party C translators and libraries).
Instead, we rely on configure to test for specific behavior
requirements and to define define appropriate defines for
conditional compilation.

>Files are not file descriptors.  I have added tcp_read/write/close defines for
>BeOS to include/ac/socket.h

We need to sort out a reasonable autoconf test for this.
We likely should discuss how to implement such a test on the
devel list.

>initgroups(u,g) is missing.  I have added an initgroups define to
>include/portable.h.in to fix this for BeOS.

HAVE_INITGROUPS should be used to control behavior. This can
either be localized in <ac/unistd.h> or in the particular
.c file which called initgroups().

>back-ldbm won't compile with gdbm, because gdbm.h doesn't have GDBM_NOLOCK
>defined in it so LDBM_NOLOCKING never gets defined in include/ldbm.h  the fix is
>defining LDBM_NOLOCKING to 0 if GDBM_NOLOCK isn't defined.

This change is fine and has been committed.  Thanks.



----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>