config failure php4.0.4 + apache 1.3.14
| From: | John Ryan | Date: | Fri, 19 Jan 2001 22:40:07 +0000 |
| Subject: | config failure php4.0.4 + apache 1.3.14 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35744@lists.php.net to get a copy of this message | ||
I'm getting the same problem on 2 machines, but I can't figure out what I'm
doing wrong.
OS is FreeBSD 4.2-STABLE i386
IMAP installed from port is imap-uw-4.5
For php4 (php4.0.4pl1) I'm doing:
/configure --with-apache=../apache_1.3.14 --with-mysql \
--with-imap=/usr/local/libexec/imapd --with-ftp --enable-track-vars
For Apache I'm doing:
/configure --enable-module=all --enable-shared=max \
--add-module=mod_frontpage.c \
--activate-module=src/modules/php4/libphp4.a
(without the --activate-module=src/modules/php4/libphp4.a, it compiles okay)
I get the following trying to configure Apache:
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
cd ..; gcc -funsigned-char -I/usr/local/src/php-4.0.4pl1 -
I/usr/local/src/php-4
0.4pl1/main -I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-
4.0.4pl1/Ze
nd -I/usr/local/src/php-4.0.4pl1/Zend -I/usr/local/src/php-4.0.4pl1/TSRM -
I/usr/
local/src/php-4.0.4pl1/TSRM -I/usr/local/src/php-4.0.4pl1 -DUSE_EXPAT -
I./lib/ex
pat-lite
./apaci -o helpers/dummy helpers/dummy.c -R/usr/local/lib -
rdy
namic -L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -
lm
odphp4 -lpam -lc-client4 -lm -lcrypt -lcrypt
/usr/local/lib/libc-client4.so: undefined reference to `mm_expunged'
/usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror'
/usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
/usr/local/lib/libc-client4.so: undefined reference to `mm_flags'
/usr/local/lib/libc-client4.so: undefined reference to `mm_fatal'
/usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_notify'
/usr/local/lib/libc-client4.so: undefined reference to `mm_searched'
/usr/local/lib/libc-client4.so: undefined reference to `mm_status'
/usr/local/lib/libc-client4.so: undefined reference to `mm_login'
/usr/local/lib/libc-client4.so: undefined reference to `mm_list'
/usr/local/lib/libc-client4.so: undefined reference to `mm_critical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_exists'
/usr/local/lib/libc-client4.so: undefined reference to `mm_log'
/usr/local/lib/libc-client4.so: undefined reference to `mm_dlog'
*** Error code 1
Stop in /usr/local/src/apache_1.3.14/src/helpers.
======== Error Output for sanity check ========
============= End of Error Report =============
Your help will be appreciated
John Ryan
Systems Manager
King George V School