I am having problems building apache,php and ldap all together. Below is the process and the errors i get
apach_1.3.x..$./configure --prefix
cd php $ ./configure --with-ldap=/usr/local/ldap
--with-apache=/usr/local/apache_1.3.x.. --with-mysql=/usr/local/mysql --enable-track-vars
$make
$make install
In my ldap folder is the netscape C sdk and the modules which i downloaded form univ michiagan
auth_ldap (not openldap)
Php will then compile fine with no errors.
What the problem is when I go to add the module to apache for php and ldap
$ cd apache_1.3.xx
I have copied the ldap module to apache folder
$./configure --activate-module=src/modules/php4/libphp4.a
--activate-module=src/modules/ldap/auth_ldap.c
This works fine, but when i got to make the install i get the below error.
$make
hp/main -I/usr/local/php/Zend -I/usr/local/php/Zend -I/usr/local/php/TSRM -I/usr/local/php/TSRM -I/usr/local/php -DUSE_EXPAT -I../../lib/expat-lite
-DNO_DL_NEEDED ../../apaci mod_php4.c cp libmodphp4.a libphp4.a ar r libphp4.a mod_php4.o ranlib libphp4.a <=== src/modules/php4 ===> src/modules/ldap
make: Fatal error: Don't know how to make target all' Current working directory /usr/local/apache_1.3.20/src/modules/ldap *** Error code 1 make: Fatal error:
Command failed for targetall' Current working directory /usr/local/apache_1.3.20/src/modules Error code 1 make: Fatal error: Command failed for target
subdirs' Current working directory /usr/local/apache_1.3.20/src *** Error code 1 make: Fatal error: Command failed for targetbuild-std' Current working
directory /usr/local/apache_1.3.20 Error code 1 make: Fatal error: Command failed for target `build'
Sorry to paste all this stuff.. any help would be great
Ernie