strange thing...
I tried to compile RA side on a fresh Suse9.1 system and get an error in string.h....
When I disable ocspd it compiles without problem.
The same config on my Suse9.0 box runs fine....
Any ideas ?
Oliver
Config: #!/bin/sh
VER=0.9.2
PREFIX=/usr/local/openca
# removed because there is a distribution dependend default # --with-httpd-fs-prefix=${PREFIX}/httpd \
./configure \ --prefix=${PREFIX} \ --with-openca-prefix=${PREFIX}/openca \ --with-etc-prefix=${PREFIX}/openca/etc \ --with-httpd-fs-prefix=/srv/openca \ --with-module-prefix=${PREFIX}/modules \ --with-openssl-prefix=/usr/local/ssl \ --with-engine=no \ --with-web-host=ldvra2.ldv.e-technik.tu-muenchen.de \ --with-ca-organization="Technische Universitaet Muenchen" \ --with-ca-country=DE \ --with-ca-locality=Muenchen \ --with-ldap-port=389 \ --with-ldap-root="cn=CAManager,o=TUM,c=DE" \ --with-ldap-root-pwd="openca" \ --enable-dbi \ --disable-db \ --disable-rbac \ --with-service-mail-account="[EMAIL PROTECTED]" \ --with-httpd-user=wwwrun \ --with-httpd-group=nogroup \ --with-openca-user=root \ --with-openca-group=nogroup \ --with-hierarchy-level=ra
Error:
make[3]: Entering directory `/home/oliwel/tmp/openca-0.9.2-RC4/src/ocspd/src'
if gcc -DPACKAGE_VERSION=\"0.4.2\\x0\" -I. -I. -I../include -I/usr/local/ssl/include -g -O2 -MT db.o -MD -MP -MF ".deps/db.Tpo" \
-c -o db.o `test -f 'db.c' || echo './'`db.c; \
then mv ".deps/db.Tpo" ".deps/db.Po"; \
else rm -f ".deps/db.Tpo"; exit 1; \
fi
In file included from /usr/include/lber.h:30,
from /usr/include/ldap.h:30,
from db.c:29:
/usr/include/string.h:38: error: parse error before '(' token
/usr/include/string.h:38: error: parse error before "void"
/usr/include/string.h:42: error: parse error before '(' token
/usr/include/string.h:42: error: parse error before "void"
/usr/include/string.h:257: error: conflicting types for `bcopy'
/usr/include/string.h:42: error: previous declaration of `bcopy'
make[3]: *** [db.o] Fehler 1
make[3]: Leaving directory `/home/oliwel/tmp/openca-0.9.2-RC4/src/ocspd/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/oliwel/tmp/openca-0.9.2-RC4/src/ocspd'
make[1]: *** [ocspd] Fehler 2
make[1]: Leaving directory `/home/oliwel/tmp/openca-0.9.2-RC4/src'
make: *** [src] Fehler 2
[EMAIL PROTECTED]:~/tmp/openca-0.9.2-RC4> vi confra
[EMAIL PROTECTED]:~/tmp/openca-0.9.2-RC4> ./confra
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s work
--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72
smime.p7s
Description: S/MIME Cryptographic Signature