[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
make problem
I am trying to be a good openldap citizen by abandoning RPM's and
rolling my own. I was able to get so far with the latest stable
distribution (2.1.12), but it balks at make, with:
...
make[3]: Entering directory
`/home/jon/tmp/openldap/openldap-2.1.12/servers/slapd/back-ldbm'
/bin/sh /home/jon/tmp/openldap/openldap-2.1.12/libtool --mode=compile
gcc -O -g -I../../../include -I../../../include -I.. -I./..
-I/usr/include -Ddef -c idl.c
mkdir .libs
gcc -O -g -I../../../include -I../../../include -I.. -I./..
-I/usr/include -Ddef -c idl.c -fPIC -DPIC -o .libs/idl.lo
In file included from ../slap.h:1833,
from idl.c:15:
../proto-slap.h:627: parse error before `1'
../proto-slap.h:633: parse error before `1'
../proto-slap.h:997: parse error before `1'
../proto-slap.h:1003: parse error before `1'
make[3]: *** [idl.lo] Error 1
make[3]: Leaving directory
`/home/jon/tmp/openldap/openldap-2.1.12/servers/slapd/back-ldbm'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory
`/home/jon/tmp/openldap/openldap-2.1.12/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/jon/tmp/openldap/openldap-2.1.12/servers'
make: *** [all-common] Error 1
I checked the list archives, and somebody had the exact same problem
last month, but got no (posted) response:
http://www.openldap.org/lists/openldap-software/200301/msg00414.html
If you didn't believe him, you now have an n of 2. What's more, I have a
totally different platform (RH linux 7.2), a slightly different
environment, and different configure options. I used:
setenv CC gcc
setenv CFLAGS "-O -g"
setenv CPPFLAGS "-I/usr/include -Ddef"
setenv LDFLAGS "-L/usr/lib"
and options:
--enable-crypt
--with-tls
--disable-bdb
--enable-ldbm
--with-ldbm-api=gdbm
I'm not at all familiar with the source yet, but it looks like it may be
an issue with the variable 'slap_syntax_defs_rec'. Anybody have any ideas?
Jon Roberts
www.mentata.com