Hi !

I've been trying to compile apache with php4.04pl1 as a static module into
apache 1.3.17. configure, make and make install works fine with php. When I
get to apache configure works but when trying to run make I get an error.
configure is run with:
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/li
bphp4.a
If I exclude --activate-module the make and make installs succeed.
I also tried to use php4.03pl1 instead, which works fine. With php4.04pl1 on
apache 1.3.14 I get the same result.

The error I get is the following:
gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/home/eric/src/php-4.0.4pl1 -
I/home/eric/src/php-4.0.4pl1/main -I/home/eric/src/php-4.0.4pl1/main -I/home
/eric/src/php-4.0.4pl1/Zend -I/home/eric/src/php-4.0.4pl1/Zend -I/home/eric/
src/php-4.0.4pl1/TSRM -I/home/eric/src/php-4.0.4pl1/TSRM -I/home/eric/src/ph
p-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/home/eric/src/php-4.0.4pl1 -
I/home/eric/src/php-4.0.4pl1/main -I/home/eric/src/php-4.0.4pl1/main -I/home
/eric/src/php-4.0.4pl1/Zend -I/home/eric/src/php-4.0.4pl1/Zend -I/home/eric/
src/php-4.0.4pl1/TSRM -I/home/eric/src/php-4.0.4pl1/TSRM -I/home/eric/src/ph
p-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
buildmark.c
gcc  -DLINUX=22 -I/home/eric/src/php-4.0.4pl1 -I/home/eric/src/php-4.0.4pl1/
main -I/home/eric/src/php-4.0.4pl1/main -I/home/eric/src/php-4.0.4pl1/Zend -
I/home/eric/src/php-4.0.4pl1/Zend -I/home/eric/src/php-4.0.4pl1/TSRM -I/home
/eric/src/php-4.0.4pl1/TSRM -I/home/eric/src/php-4.0.4pl1 -DUSE_EXPAT -I./li
b/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a  -Wl,-rpath,/usr/local/mysql//lib  -rdynamic -L/us
r/local/mysql//lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lm
odphp4  -lpam  -ldl -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 
  -lm -lcrypt
/usr/local/mysql//lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/local/mysql//lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/eric/src/apache_1.3.17/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/eric/src/apache_1.3.17'
make: *** [build] Error 2

I guessed there was some problems with the mysqlpart in php, and maybe that
the mysql version was wrong or something, but I tried several different
versions of mysql.
I must be something funny with php4.04pl1 or something else?

Any help or suggestions would be appreciated!

Best regards,
        Eric


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to