Problems compiling LDAP into php 4.0.2

From: Date: Wed, 17 Jan 2001 15:01:33 +0000
Subject: Problems compiling LDAP into php 4.0.2
Groups: php.general 
Request: Send a blank email to php-general+get-35045@lists.php.net to get a copy of this message
Here is my environment: System Linux server@domain.com 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown Build Date Sep 7 2000 Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' ' --with-config-file-path=/usr/local/apache/conf' '--enable-versioning' ' --with-mysql' '--enable-ftp' '--with-gd=/usr/local/gd' ' --enable-bcmath=yes' '--disable-debug' '--enable-memory-limit=yes' ' --enable-track-vars' ' --with-openlink=/usr/local/odbc' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/apache/conf ZEND_DEBUG disabled Thread Safety disabled When I attempted to recompile with LDAP During the make I get the following errors: Making all in ldap make[2]: Entering directory `/usr/local/php-4.0.2/ext/ldap' make[3]: Entering directory `/usr/local/php-4.0.2/ext/ldap' /bin/sh /usr/local/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/usr/local/php-4.0.2/ext/ldap -I/usr/local/php-4.0.2 -I/usr/local/php-4.0.2/main -I/usr/local/apache/include -I/usr/local/php-4.0.2/Zend -I/usr/local/php-4.0.2 -I/usr/local/gd -I/usr/local/ldap/include -I/usr/local/php-4.0.2/ext/mysql/libmysql -I/usr/local/odbc/odbcsdk/include -I/usr/local/php-4.0.2/ext/xml/expat/xmltok -I/usr/local/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c ldap.c ldap.c: In function `php_ldap_do_search': ldap.c:620: dereferencing pointer to incomplete type ldap.c:629: dereferencing pointer to incomplete type ldap.c:638: dereferencing pointer to incomplete type make[3]: *** [ldap.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.0.2/ext/ldap' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.0.2/ext/ldap' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.0.2/ext' make: *** [all-recursive] Error 1 I am using Netscape 3.0 like the php.net docs told me to. ldapsearch works fine from the command line. Thanx in advance for any help Please respond to my email directly - I am off list. BEH

« previous php.general (#35045) next »