Hello

I am not able to get OCSPD to compile under Solaris 10.
It seems to be always picking up the Solaris ldap headers, 
instead of the OpenLDAP ldap headers :-(

$ ./configure --with-openldap-prefix=/opt/sfw --with-ocspd-user=ocspd 
--with-ocspd-group=ocspd
[...]

$ make
[...]
if gcc -DPACKAGE_VERSION=\"1.0.5\\x0\" -D_USE_SEMAPHORES=1
-DOCSPD_ARCH_SOLARIS=1 -I. -I. -I. -I../include -I/usr/sfw/include
-g -O2 -MT hash-db.o -MD -MP -MF ".deps/hash-db.Tpo" -c -o hash-db.o
hash-db.c; \
then mv -f ".deps/hash-db.Tpo" ".deps/hash-db.Po"; else rm -f
".deps/hash-db.Tpo"; exit 1; fi
hash-db.c: In function `ocspd_ldap_connect':
hash-db.c:122: error: `LDAP_OPT_SUCCESS' undeclared (first use in this
function)
hash-db.c:122: error: (Each undeclared identifier is reported only once
hash-db.c:122: error: for each function it appears in.)
make[2]: *** [hash-db.o] Error 1


gcc does not seem to care about my "--with-openldap-prefix",
even though
$ ls /opt/sfw/lib/libldap.so
/opt/sfw/lib/libldap.so
$ ls /opt/sfw/include/ldap.h
/opt/sfw/include/ldap.h


Any idea? (besides removing the Solaris ldap stuff)


Thanks

-- 
Guillaume Tamboise

"First they ignore you, then they laugh at you, then they fight you,
then you win." -- Gandhi


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to