#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).
Change History (14)
comment:1 by , 16 years ago
comment:2 by , 16 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 , 16 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
comment:4 by , 16 years ago
Update to OpenLDAP 2.4.13.
I also used Tromader's build fix and removed a GMP refrence.
comment:5 by , 16 years ago
Oh, and BTW, the XML is still valid with this patch, but it still needs real world testing.
comment:7 by , 16 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 , 16 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 , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Version increment to 2.4.21
comment:10 by , 15 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 , 15 years ago
Summary: | OpenLDAP 2.4.12 → OpenLDAP 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 , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Updated BLFS to OpenLDAP-2.4.21
Also provided instructions for a client-only build.
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.