I'm running redhat 7.1. I have MySQL installed and running, I downloaded sources for PHP4 and Apache 1.x. After decompressing both within /usr/src These are the steps I took:
[/usr/src/apache]# ./configure --prefix=/usr/local/apache
[/usr/src/php4#] ./configure --with-mysql=/usr/local/mysql \
--with-apache=/usr/src/apache \
--with-zlib--enable-track-vars
make clean, make, make install
cd ../apache
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
make, make install <-- and then I get the error:
/usr/local/mysql/lib/libmysqlclient.a(my_compress.0): In function my_uncompress':
/usr/local/mysql/libmysqlclient.a(my_compress.o): In functionmy_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: *** Leaving directory/usr/src/apache_1.3.20/src'
make[1]: [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.20/src'
make: [build] Error 2
I am at my wits end!!!! please have me with any advise you have.
It would be greatly appreciated!