php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2267 Cannot compile apache 1.3.9 with php3 support
Submitted: 1999-09-08 18:32 UTC Modified: 1999-09-08 18:56 UTC
From: ajulrich at telusplanet dot net Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.12 OS: linux (Red Hat 5.2)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ajulrich at telusplanet dot net
New email:
PHP Version: OS:

 

 [1999-09-08 18:32 UTC] ajulrich at telusplanet dot net
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 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-08 18:56 UTC] rasmus at cvs dot php dot net
Don't use relative paths, and you need to point --with-mysql to an instal directory not to a src dir.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC