Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#2578 closed task (fixed)

OpenLDAP 2.4.21

Reported by: thomas Owned by: Randy McMurchy
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Compiles (at least) fine with new BerkeleyDB. The 2.4 series is considered as stable (if i interpret the statement on the OpenLDAP site right).

Attachments (1)

openldap-2.4.13.patch (3.8 KB ) - added by willimm 15 years ago.
A patch to bring BLFS to OpenLDAP 2.4.13

Download all attachments as: .zip

Change History (14)

comment:1 by Stefan Morrell, 15 years ago

2.4.11 is considered stable (and doesn't work with BDB 4.7)

2.4.12 is considered release (and does work) - and will need the conifigure options tweaking. As it stands on today's SVN, it's wanting some kind of SQL setting up in order to configure up.

comment:2 by Stefan Morrell, 15 years ago

Error in build of 2.4.12 in combination with Glibc 2.8

cc -g -O2 -I../../include -I../../include -c -o getpeereid.o getpeereid.c getpeereid.c: In function 'lutil_getpeereid': getpeereid.c:65: error: storage size of 'peercred' isn't known make[2]: * [getpeereid.o] Error 1 make[2]: Leaving directory `/sources/openldap-2.4.12/libraries/liblutil' make[1]: * [all-common] Error 1 make[1]: Leaving directory `/sources/openldap-2.4.12/libraries' make: * [all-common] Error 1

Workaround:

CPPFLAGS=-D_GNU_SOURCE ./configure --someoptions

See: http://www.openldap.org/lists/openldap-bugs/200804/msg00074.html

comment:3 by Stefan Morrell, 15 years ago

...grumble..

Readable...

cc -g -O2 -I../../include        -I../../include       -c -o getpeereid.o getpeereid.c
getpeereid.c: In function 'lutil_getpeereid':
getpeereid.c:65: error: storage size of 'peercred' isn't known
make[2]: *** [getpeereid.o] Error 1
make[2]: Leaving directory `/sources/openldap-2.4.12/libraries/liblutil'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/sources/openldap-2.4.12/libraries'
make: *** [all-common] Error 1

by willimm, 15 years ago

Attachment: openldap-2.4.13.patch added

A patch to bring BLFS to OpenLDAP 2.4.13

comment:4 by willimm, 15 years ago

Update to OpenLDAP 2.4.13.

I also used Tromader's build fix and removed a GMP refrence.

comment:5 by willimm, 15 years ago

Oh, and BTW, the XML is still valid with this patch, but it still needs real world testing.

comment:6 by Randy McMurchy, 15 years ago

Milestone: 6.46.5

Modified milestone from 6.4 to 6.5

comment:7 by Stefan Morrell, 15 years ago

I've just built 2.4.16

Now, I'm doing this to enable ADS support in samba, so I'm not interested in running an LDAP database on my system, so I'm using the --disable-sql configure option.

That said, the configure script wants to build the MySQL cluster backend for SLAPD regardless and chokes with
checking for mysql_config... yes
checking for NdbApi.hpp... configure: error: could not locate NdbApi headers

I'm working around this by adding

--disable-nbd

to my configure options

comment:8 by Stefan Morrell, 15 years ago

Also: 2.4.12 won't build with gcc4.4 (as in LFS 6.5). Fixed in 2.4.13 and later so might as well advance the OpenLDAP version associated with this ticket.

comment:9 by Randy McMurchy, 14 years ago

Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

Version increment to 2.4.21

comment:10 by Wayne Blaszczyk, 14 years ago

It would be good if there was a section on a client only build. eg ./configure --disable-slapd --disable-slurpd (from memory, one of these two options doesn't exist in later versions).

comment:11 by Randy McMurchy, 14 years ago

Summary: OpenLDAP 2.4.12OpenLDAP 2.4.21

It appears OpenLDAP is catching up in their "Stable" releases. The most current release of LDAP is their "Stable" version. This makes it easy to do the updates.

Version increment to 2.4.21 which is also the "Stable" version.

http://www.openldap.org/software/download/

As this ticket is for the update to OpenLDAP, I'll go ahead and write a small paragraph to indicate that you do not need to build the servers if you only need the client pieces.

comment:12 by Randy McMurchy, 14 years ago

Resolution: fixed
Status: assignedclosed

Updated BLFS to OpenLDAP-2.4.21

Also provided instructions for a client-only build.

comment:13 by (none), 13 years ago

Milestone: 6.5

Milestone 6.5 deleted

Note: See TracTickets for help on using tickets.