Netscape LDAP with PHP

From: Date: Thu, 08 Feb 2001 11:46:50 +0000
Subject: Netscape LDAP with PHP
Groups: php.install 
Request: Send a blank email to php-install+get-1989@lists.php.net to get a copy of this message
Hello, that´s my first mail in this list. I have a problem triying to install PHP on my computer. I´ve configured PHP for a installation compatible with LDAP with the following instruction: ./configure --with-apache=../apache_1.3.17 --with-imap=/var/tmp/src/imap/imap-2000c --with-ldap=/usr/netscape/server4 And when I try to compile with make it gives me next error: make[3]: Entering directory `/usr/local/php-4.0.3pl1/ext/ldap' gcc -I. -I/usr/local/php-4.0.3pl1/ext/ldap -I/usr/local/php-4.0.3pl1 -I/usr/local/php-4.0.3pl1/main -I/usr/local/apache_1.3.17/src/include -I/usr/local/apache_1.3.17/src/os/unix -I/usr/local/php-4.0.3pl1/Zend -I/usr/local/php-4.0.3pl1 -I/var/tmp/src/imap/imap-2000c/include -I/usr/local/php-4.0.3pl1/ext/mysql/libmysql -I/usr/local/php-4.0.3pl1/ext/xml/expat/xmltok -I/usr/local/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/local/php-4.0.3pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c ldap.c && touch ldap.lo ldap.c: In function `php_info_ldap': ldap.c:184: `LDAPVersion' undeclared (first use in this function) ldap.c:184: (Each undeclared identifier is reported only once ldap.c:184: for each function it appears in.) ldap.c:184: parse error before `ver' ldap.c:192: `ver' undeclared (first use in this function) ldap.c:224: `LDAP_SECURITY_NONE' undeclared (first use in this function) make[3]: *** [ldap.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.0.3pl1/ext/ldap' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.0.3pl1/ext/ldap' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.0.3pl1/ext' make: *** [all-recursive] Error 1 Has anybody installed sucesfully PHP with this configuration? What could be my error? Thanks for your attention Jorge

« previous php.install (#1989) next »