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:

[root@dns2 apache_1.3.14]# ./configure \
> --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

But when I try to do 'make' for apache, I run into these problems:

(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


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Penguinistas!  Find out the latest news, tips and opinions
making its way through the Linux industry.
http://www.linuxplanet.com/linuxplanet/

_____________  The ISP-LINUX Discussion List  _____________
To Join: mailto:[EMAIL PROTECTED]
To Remove: mailto:[EMAIL PROTECTED]
Archives: http://isp-lists.isp-planet.com/isp-linux/archives/

Reply via email to