Following instrictions in maunal doesn't work
| From: | Jim Pringle | Date: | Sun, 03 Mar 2002 03:15:04 +0000 |
| Subject: | Following instrictions in maunal doesn't work | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6235@lists.php.net to get a copy of this message | ||
I'm running RedHat 7.2. I downloaded apache & php binaries. I followed
the instructions from the PHP manual:
1. gunzip apache_1.3.x.tar.gz
2. tar xvf apache_1.3.x.tar
3. gunzip php-x.x.x.tar.gz
4. tar xvf php-x.x.x.tar
5. cd apache_1.3.x
6. ./configure --prefix=/www
7. cd ../php-x.x.x
8. ./configure --with-mysql --with-apache=../apache_1.3.x
--enable-track-vars
9. make
10. make install
11. cd ../apache_1.3.x
12. for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a
13. make
14. make instal
After make install I get the following error:
my_compress.o(.text+0xa2): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x13a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[3]: *** [target_static] Error 1
make[3]: Leaving directory `/usr/local/apache_1.3.23/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/usr/local/apache_1.3.23'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.23'
make: *** [install-all] Error 2
I'm stumped.. Been trying for 3 days. Any help would be greatly
appreciated. Thanks
Jim