[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Coredump.
Hi, I'm trying to build OpenLDAP using the Berkley db3 3.1.17-5 rpm's from
RH.
Last time around I compiled and installed Berkley DB 3.2.9, but the problem
is that the cyrus-imapd wouldn't work ;(. What happens is that openldap
coredumps when I run make test:
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 35: 16998 Minnesegmentsfeil (core
dumped) $SLAPD -f $SCHEMACONF -h $MASTERURI -d $LVL $TIMING >$MASTERLOG 2>&1
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Here are the warnings I get when I run the make:
[root@mailserver ldap]# make > make.log
tls.c:533: warning: initialization from incompatible pointer type
tls.c:535: warning: initialization from incompatible pointer type
tls.c:537: warning: initialization from incompatible pointer type
tls.c:533: warning: initialization from incompatible pointer type
tls.c:535: warning: initialization from incompatible pointer type
tls.c:537: warning: initialization from incompatible pointer type
ldapsearch.o: In function `print_entry':
ldapsearch.o(.text+0x1c0e): the use of `mktemp' is dangerous, better use
`mkstemp'
edit.o: In function `load_editor':
edit.o(.text+0x181): the use of `tmpnam' is dangerous, better use `mkstemp'
also here's my config script:
CC="gcc" \
CPPFLAGS="-I/usr/include/openssl -I/usr/src/openssl-0.9.6" \
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -marc
h=pentiumpro -fomit-frame-pointer -fno-exceptions -D_REENTRANT" \
./configure \
--prefix=/usr \
--libexecdir=/usr/sbin \
--localstatedir=/var/run \
--sysconfdir=/etc \
--with-cyrus-sasl \
--enable-spasswd \
--with-gnu-ld \
If someone would be so kind as to tell me if I'm doing something utterly
wrong, or if it is the prog, I'd be greatfull.
Also, I've tried to use the openldap rpm from the fisher beta. I have no
problem inserting info into the db and I can view the whole structure using
gq. BUT: I cannot make pam_ldap use it. It seems to me that I'm doing
everything right up to a point where nothing works. I hope this problem
resolves if I get openldap working.
Tarjei