fix found for 4.0.4pl1 + openldap-1.2.11 + Apache 1.3.14 + Solaris 7
| From: | John McCoy, Jr | Date: | Fri, 30 Mar 2001 04:03:32 +0000 |
| Subject: | fix found for 4.0.4pl1 + openldap-1.2.11 + Apache 1.3.14 + Solaris 7 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2632@lists.php.net to get a copy of this message | ||
This is what it took for me to get this installed they may be other ways but
this worked for me.
Hope it helps somebody!
Here is my php configure vars
"./configure" \
"--with-mysql" \
"--with-imap=../imap-2000c" \
"--with-ldap=../openldap-1.2.11" \
"--with-apache=../apache_1.3.14" \
"--enable-memory-limit=yes" \
"--enable-debug=no"
To compile Apache I had to do the following ( LIBS was the final piece here
for me)
SSL_BASE=../openssl-0.9.6 EAPI_MM=../mm-1.1.3 CPPFLAGS=-I/usr/local/include
\
LDFLAGS=-L/usr/local/lib LIBS="-lldap -llber"
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a --enable-module=ssl \
--activate-module=src/modules/perl/libperl.a --enable-module=perl
For some reason it still wouldn't pick up libldap.so.2 and liblber.so.2 in
/usr/local/lib when running make. So I made links to both in /usr/lib/ I'm
sure I was doing something wrong to need to do this.
I have no LD_LIBRARY_PATH, this may be why.
I then had to copy test_char.h from apache-src-dir/src/os/netware to
src/main
It then compiled using GNU make.
Here are system specs:
Solaris 7 Sparq
gcc 2.95.2
GNUmake 3.78.1
php-4.0.4pl1
openldap-1.2.11
Apache 1.3.14
openssl-0.9.6
mysql-3.22.32
mm-1.1.3
UW-imap200c
I'll supply more config lines if somebody needs.
********************************
John McCoy jmccoy@mills.edu
Systems Administrator
Central Systems
Mills College
510-430-3321
********************************