I get the following error message when trying to compile PHP with ldap:
I get the following error message:
gcc -I. -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql -I/export/scratch/apps3/php-4.0.6/main -I/export/scratch/apps3/php-4.0.6 -I/export/scratch/apps3/apache_1.3.20/src/include -I/export/scratch/apps3/apache_1.3.20/src/os/unix -I/export/scratch/apps3/php-4.0.6/Zend -I/export/scratch/apps3/ldap/include -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql -I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmltok -I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmlparse -I/export/scratch/apps3/php-4.0.6/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c my_getwd.c && touch my_getwd.lo
my_getwd.c:58: #error "No way to get current directory"
Error code 1
make: Fatal error: Command failed for target my_getwd.lo'
Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for targetall-recursive'
Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
Error code 1
make: Fatal error: Command failed for target all-recursive'
Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql
*** Error code 1
make: Fatal error: Command failed for targetall-recursive'
Current working directory /export/scratch/apps3/php-4.0.6/ext
Afterwards the compilation exits.
If i compile without --with-ldap everything works great but if i do it with ldap i get this error message everytime.
I have the openldap package installed and it compiled fine.
Can anyone please help me.
I have been struggled with this all morning.
Would REALLY appreciate if you send a possible response to my E-mail.
mayor thansk in advance
//Johan