Problem with Apache

From: Date: Wed, 02 Jun 1999 06:43:26 +0000
Subject: Problem with Apache
Groups: php.version4 
Request: Send a blank email to php-version4+get-1246@lists.php.net to get a copy of this message
Hi. I'm running a FreeBSD 3.3.2 system and when compiling in PHP4, I get: Configuring for Apache, Version 1.3.6 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for FreeBSD 3.2 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End /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' + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. This is most likely because your C compiler ** is not ANSI. Apache requires an ANSI C Compiler, such ** as gcc. The above error message from your compiler ** will also provide a clue. Aborting! I've been fiddeling with this for about a day now and I still get the same message My build-script is quite easy: cvs -d :pserver:cvsread@cvs.php.net:/repository co php4 cvs -d :pserver:berenmls@cvs.zend.com:/repository co libzend cvs -d :pserver:berenmls@cvs.zend.com:/repository co TSRM cd php4 ./buildconf ./configure --with-imap --with-mysql --enable-sysvsem --enable-sysvshm --with-zlib --with-yp --with-apache=/home/beren/src/apache_1.3.6 make make install cd ~beren/src/apache_1.3.6 ./configure --activate-module=src/modules/php4/libphp4.a Anyone experienced similar problems? My configure and compiling of PHP4 works excelent. Sincerely yours Niklas Saers

« previous php.version4 (#1246) next »