I'm trying to add php support into apache and the 'make' command fails.
mysql-3.23.38 installed fine and I ran some tests and everything is working.
php-4.0.5 also installed fine (but don't know how to test it from the
command line). The apache configure also went fine:
But when I try to do 'make' for apache, I run into these problems:Quote:> --prefix=/usr/local/apache \
> --activate-module=src/modules/standard/mod_rewrite.c \
> --enable-module=rewrite \
> --enable-module=ssl \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=php4
(there is lots of messages about 'undefined reference...' for mysql)
modules/php4/libphp4.a(php_mysql.o): In function `_free_mysql_result':
/home/ae/software/php-4.0.5/ext/mysql/php_mysql.c:191: undefined reference
to `m
ysql_free_result'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/ae/software/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/ae/software/apache_1.3.14'
make: *** [build] Error 2
Does anyone know how I can correct this problem?
P.S. I'm trying to do this on a RedHat 7.0 box with a working version of
apache 1.3.14 already installed.
Thanks!
SW
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php