PHP 4.0 Bug #2307: Apache doesn't compile with PHP4 module

From: Date: Wed, 15 Sep 1999 19:28:14 +0000
Subject: PHP 4.0 Bug #2307: Apache doesn't compile with PHP4 module
Groups: php.dev 
Request: Send a blank email to php-dev+get-10968@lists.php.net to get a copy of this message
From: essiembre.pascal@ic.gc.ca Operating system: Linux PHP version: 4.0 Beta 2 PHP Bug Type: Compile Failure Bug description: Apache doesn't compile with PHP4 module I followed the instructions in the INSTALL program carefully. Everything worked exept the apache compile. It works without the --activate option. I am using a gcc compiler. PHP OK-> ./configure --prefix=/www --activate-module=/usr/local/src/apache/apache_1.3.9/src/modules/php4/libphp4.a APACHE NOT OK -> ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a Configuring for Apache, Version 1.3.9 + 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 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. 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!

« previous php.dev (#10968) next »