|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-09-08 18:56 UTC] rasmus at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 09:00:01 2025 UTC |
I was trying to install php-3.0.12 as an apache module and recieved this message after doing this procedure install from source mysql-3.22.25 configure apache with this ./configure "--with-layout=RedHat" \ "--enable-module=most" \ "--enable-shared=max" \ configure php3 ./configure --with-apache=../apache_1.3.9 --with-mysql=../mysql-3.22.25 --enable-track-vars make make install Then I ran the following script and recieved this output #!/bin/sh ## ## config.status -- APACI auto-generated configuration restore script ## ## Use this shell script to re-run the APACI configure script for ## restoring your configuration. Additional parameters can be supplied. ## ./configure \ "--activate-module=src/modules/php3/libphp3.a" \ "--with-layout=RedHat" \ "--enable-module=most" \ "--enable-shared=max" \ "$@" this was generated ************************* ************************* [root@ajulrich-2 apache_1.3.9]# ./config.status Configuring for Apache, Version 1.3.9 + using installation path layout: RedHat (config.layout) + activated php3 module (modules/php3/libphp3.a) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support 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 rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o dbm_auth_module uses ConfigStart/End o php3_module uses ConfigStart/End + using -ldl for vendor DSO support + 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! **************************** **************************** for a comparison i ran make clean and then this script The script for without php #!/bin/sh ## ## config.status -- APACI auto-generated configuration restore script ## ## Use this shell script to re-run the APACI configure script for ## restoring your configuration. Additional parameters can be supplied. ## ./configure \ "--with-layout=RedHat" \ "--enable-module=most" \ "--enable-shared=max" \ "$@" This was Generated ******************************************** ******************************************** [root@ajulrich-2 apache_1.3.9]# ./config.status Configuring for Apache, Version 1.3.9 + using installation path layout: RedHat (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support 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 rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o dbm_auth_module uses ConfigStart/End + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/proxy ********************************************* ********************************************* I have a complete install of the Red hat 5.2 I would assume that I have an ansi c compiler. Please advise