Date: 09/08/99
- Next message: Bug Database: "[PHP-DEV] Bug #2267 Updated: Cannot compile apache 1.3.9 with php3 support"
- Previous message: Mark Musone: "[PHP-DEV] cvs: /php3/functions php3_mcal.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ajulrich <email protected>
Operating system: linux (Red Hat 5.2)
PHP version: 3.0.12
PHP Bug Type: Installation problem
Bug description: Cannot compile apache 1.3.9 with php3 support
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 <email protected> 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 <email protected> 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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #2267 Updated: Cannot compile apache 1.3.9 with php3 support"
- Previous message: Mark Musone: "[PHP-DEV] cvs: /php3/functions php3_mcal.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

