|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16009 Apache/SAPI Compile Error
Submitted: 2002-03-11 18:51 UTC Modified: 2002-04-28 00:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: enigma at turingstudio dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.1.2 OS: Redhat Linux 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
22 + 8 = ?
Subscribe to this entry?

 [2002-03-11 18:51 UTC] enigma at turingstudio dot com
Log below.

It appears PHP 4.1.2 doesn't like apache 1.3.23...?

Configure command (dir variables are defined in a shell 
include I use for convenience):

./configure \
        --prefix=${PHP_MOD_PREFIX_DIR} \
        --with-config-file-path=${APACHE_PREFIX_DIR}/conf \
        --with-apache=../${APACHE_DIR} \
        --enable-ftp \
        --with-zlib \
        --enable-bcmath \
        --enable-calendar \
        --with-jpeg-dir=/usr/lib \
        --with-imlib=/usr/local/lib/ \
        --with-iconv=/usr/local/lib \
        --with-tiff-dir=/usr/lib \
        --with-oci8=${ORACLE_DIR} \
        --with-sapdb=/opt/sapdb/interfaces/odbc \
        --with-mhash=${MHASH_PREFIX_DIR} \
        --with-mcrypt=${MCRYPT_PREFIX_DIR} \
        --with-dom=${LIBXML2_PREFIX_DIR} \
        --enable-xslt --with-xslt-sablot=${SAB_PREFIX_DIR} 
        --with-curl=${CURL_PREFIX_DIR} \
        --with-expat-dir=${EXPAT_PREFIX_DIR} \
        --enable-wddx \
        --enable-memory-limit \
        --with-mm=${MM_PREFIX_DIR} \



make[2]: Entering directory 
make[3]: Entering directory 
gcc -I. 
-I/usr/local/libxml2/include/libxml2 -I/usr/local/include 
-I/usr/local/mcrypt/include -I/usr/local/mhash/include 
l -I/u01/oracle/product/8.1.6/rdbms/public 
-I/opt/sapdb/interfaces/odbc/incl -I/usr/local/mm/include 
-I/usr/local/expat/include -I/usr/local/Sablot/include 
-I/root/bc_install/packages/php-4.1.2.mod/TSRM -g -O2  -c 
sapi_apache.c && touch sapi_apache.lo
In file included from 
                 from sapi_apache.c:32:
ig_auto.h:6: unterminated `#if' conditional
In file included from 
                 from sapi_apache.c:32:
ig.h:1386: warning: `XtOffsetOf' redefined
warning: this is the location of the previous definition
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory 
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
make: *** [all-recursive] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 17:59 UTC]
Does this happen with PHP 4.2.0RC1:
 [2002-04-28 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC