PHP 4.0 Bug #2564: Failure to compile in OpenLDAP 1.2 support
| From: | jasons at tambra dot com | Date: | Tue, 19 Oct 1999 02:00:29 +0000 |
| Subject: | PHP 4.0 Bug #2564: Failure to compile in OpenLDAP 1.2 support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11757@lists.php.net to get a copy of this message | ||
From: jasons@tambra.com
Operating system: i386 RH6.1
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: Failure to compile in OpenLDAP 1.2 support
Followed the Quick install to the tee.
Failure to compile in OpenLDAP 1.2 support on Linux i386 RH6.1:
Making all in ldap
make[2]: Entering directory `/usr/local/src/php-4.0b2/ext/ldap'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/local/sr
c/apache_1.3.9/src/include -I/usr/local/src/apache_1.3.9/src/os/unix -I/usr/lo
cal/src/imap-4.6/c-client//include -I/usr/local/src/ldap//include -I/usr/local/s
rc/mysql-3.22.27/include -I../.. -I../../libzend -g -O2 -g -O2 -c ldap.c
ldap.c:70: `php3_ldap_close' undeclared here (not in a function)
ldap.c:70: initializer element for `ldap_functions[1].handler' is not constant
make[2]: *** [ldap.o] Error 1
Configure:
./configure --with-mysql=/usr/local/src/mysql-3.22.27 --with-imap=/usr/local/src/imap-4.6/c-client/
--with-apache=/usr/local/src/apache_1.3.9 --with-ldap=/usr/local/src/ldap/ --enable-track-vars