Dear Kate, what platform are u using? the default directory is /usr/local/ldap, did u installed ldap to another directory? cheers, dennis kate wrote: > Hi all, > I install php with ldap enable as follow, but got some erros.. please > help !!!! > > thanks > > Kate > > #./configure --with-ldap > > # make > gcc -I. -I/export/home/kate/source/php-4.0.4pl1/ext/ldap > -I/export/home/kate/source/php-4.0.4pl1/main > -I/export/home/kate/source/php-4.0.4pl1 > -I/export/home/kate/source/php-4.0.4pl1/Zend > -I/export/home/kate/source/php-4.0.4pl1/ext/mysql/libmysql > -I/export/home/kate/source/php-4.0.4pl1/ext/xml/expat/xmltok > -I/export/home/kate/source/php-4.0.4pl1/ext/xml/expat/xmlparse > -I/export/home/kate/source/php-4.0.4pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS > -DXML_BYTE_ORDER=12 -g -O2 -c ldap.c && touch ldap.lo > ldap.c: In function `_get_lderrno': > ldap.c:477: dereferencing pointer to incomplete type > ldap.c: In function `php_ldap_do_search': > ldap.c:657: dereferencing pointer to incomplete type > ldap.c:666: dereferencing pointer to incomplete type > ldap.c:675: dereferencing pointer to incomplete type > *** Error code 1 > make: Fatal error: Command failed for target `ldap.lo' > Current working directory /export/home/kate/source/php-4.0.4pl1/ext/ldap > > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]