Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Something wrong with Apache configure

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
I'm trying to setup Apache with PHP and MySQL. I've gotten to the point where I configure Apache using:

SSL_BASE=../openssl-0.9.6b > RSA_BASE=../rsaref-2.0/local > ./configure > --enable-module=ssl > --activate-module=src/modules/php4/libphp4.a \
> --enable-module=php4 > --prefix=/usr/local/apache > --enable-shared=ssl

That goes ok but when I try to make it, I get:

/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_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 `/root/php/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/php/apache_1.3.20'
make: *** [build] Error 2


I found somewhere that I would need to add --with-zlib to the PHP and MYSQL configure but this version doesn't use configure.
I'm using Apache 1.3.20, PHP 4.0.6 and mysql 3.23.40 on Redhat 6.1 and I'm not using RPMs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top