Troubles compiling Apache with PHP4
| From: | Eric | Date: | Fri, 09 Nov 2001 04:07:27 +0000 |
| Subject: | Troubles compiling Apache with PHP4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73987@lists.php.net to get a copy of this message | ||
Hello,
I am trying to compile apache_1.3.19 with php4.06 and mysql 3.23.43
I am running Slackware with kernel version 2.2.13
I have mysql up and running without troubles.
With PHP I ran;
./configure --with-mysql=../mysql --with-apache=/var/lib/apache_1.3.19
--with-ftp
make
make install
Then I go into /var/apache_1.3.19 and run;
./configure --prefix=/var/lib/apache
--activate-module=src/modules/phph4/libphp4.a
This completes without error, then when I run 'make' (in
/var/lib/apache_1.3.19)I get the following;
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
'my_compress_alloc':
my_compress.o(.txt+0x12a): undefined reference to 'compress'
collect2: id returned 1 exit status
make[2]: ***[target_static] Error 1
make[1]: ***[build-std] Error 2
make: ***[build] Error 2
What am I missing? any help would be appreciated,
Thanks
Eric