Re: Problems Compiling LDAP in 4.0.2

From: Date: Thu, 18 Jan 2001 14:20:23 +0000
Subject: Re: Problems Compiling LDAP in 4.0.2
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1683@lists.php.net to get a copy of this message
Hi Bill, which LDAP library do you use ? OpenLDAP ? regards alfred Bill.Hoffman@walgreens.com wrote: > > 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 > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- -- \\\\\/// / ^ _ \ ( (o) (o) ) --- That's all folks --- +=oOOO=====(_)=====OOOo==========================================+ |Alfred Lerch Mentor Graphics Deutschland GmbH| |Network & System Administrator Elsenheimer Str. 41 - 43| |IT - Business Support Team Munich D-80687 Muenchen, Germany| |email: alfred_lerch@mentor.com Fax : +49 89 57096-400| |Tel. : +49 89 57096-241 Mobile: +49 172 8915200| | | |Helpdesk IT Central Europe in Munich | |Tel. : +49 89 57096-110 internal: 777| |email: helpdesk_dem@mentor.com | +=============Oooo.==============================================+ .oooO ( ) ( ) ) / \ ( (_/ \_)

« previous php.install (#1683) next »