PHP 4.0 Bug #5292: Apache configure script causes error when activating php4 module

From: Date: Fri, 30 Jun 2000 20:02:38 +0000
Subject: PHP 4.0 Bug #5292: Apache configure script causes error when activating php4 module
Groups: php.dev 
Request: Send a blank email to php-dev+get-22941@lists.php.net to get a copy of this message
From: jspeer@wtexchange.com Operating system: RedHat 6.2 (Zoot) -- Kernel 2.2.14-5.0 PHP version: 4.0.1 PHP Bug Type: Installation problem Bug description: Apache configure script causes error when activating php4 module PHP 4.0.1 Compile Options --with-apache=../apache_1.3.12 --with-servlet=/usr/local/JSDK2.0 --enable-safe-mode --enable-calendar --enable-ftp --without-gd --with-java=/usr/local/jdk1.2.2 --with-mysql --with-openssl=/usr/local/ssl --enable-inline-optimization Apache 1.3.12 Compile Options --activate-module=src/modules/php4/libphp4.so Error Configuring for Apache, Version 1.3.12 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src cd ..; gcc -DLINUX=2 -I/home/jspeer/apache/php-4.0.1 -I/home/jspeer/apache/php-4.0.1/main -I/home/jspeer/apache/php-4.0.1/main -I/home/jspeer/apache/php-4.0.1/Zend -I/home/jspeer/apache/php-4.0.1/Zend -I/home/jspeer/apache/php-4.0.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -rdynamic -L/usr/local/jdk1.2.2/jre/lib/i386/classic -L/usr/local/jdk1.2.2/jre/lib/i386/native_threads -L/usr/local/jdk1.2.2/jre/lib/i386 -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -lstdc++ -ldl -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt /usr/bin/ld: cannot find -lmodphp4 collect2: ld returned 1 exit status make: *** [dummy] Error 1 Creating Makefile in src + configured for Linux 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 + checking sizeof various data types + doing sanity check on compiler and options ** 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. ======== Error Output for sanity check ======== ============= End of Error Report ============= Aborting!

« previous php.dev (#22941) next »