[Date Prev][Date Next]
Re: BeOS build broken for 2.0-devel tree. (ITS#403)
On Fri, 17 Dec 1999, Kurt D. Zeilenga wrote:
> At 05:25 PM 12/17/99 GMT, email@example.com wrote:
> >Full_Name: Allen Reese
> >Version: 2.0-devel
> >OS: BeOS R4.5
> >URL: ftp://ftp.openldap.org/incoming/
> >Submission from: (NULL) (18.104.22.168)
> >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.
Yes that is true.
> >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.
The only workable test I can think of is test the OS version. If you open
a socket and try and use read/write on it, the results are unpredicatable.
I know for a fact that any version of BeOS >=4.5 sockets are not
> >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().
ac/unistd.h servers/slapd/daemon.c is the only place I can find calling
it. I'll look at writing an autoconf test for it.
> >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 <firstname.lastname@example.org>
> Net Boolean Incorporated <http://www.boolean.net/>
Senior Software Engineer
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread