ID: 17331 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Failure Operating System: Suse Linux 7.2 PHP Version: 4.2.1 New Comment:
Section of make process that generates error. Making all in sapi make[1]: Entering directory `/usr/local/php/sapi' Making all in apache make[2]: Entering directory `/usr/local/php/sapi/apache' make[3]: Entering directory `/usr/local/php/sapi/apache' /bin/sh /usr/local/php/libtool --silent --mode=compile gcc -I. -I/usr/local/php/sapi/apache -I/usr/local/php/main -I/usr/local/php -I/usr/local/httpd/include -I/usr/local/php/Zend -I/usr/local/php/ext/mysql/libmysql -I/u01/oracle/product/8.1.6/rdbms/public -I/u01/oracle/product/8.1.6/rdbms/demo -I/u01/oracle/product/8.1.6/network/public -I/usr/local/php/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -I/usr/local/php/TSRM -g -O2 -prefer-pic -c sapi_apache.c In file included from /usr/local/php/main/httpd.h:72, from sapi_apache.c:32: /usr/local/php/main/ap_config.h:114: os.h: No such file or directory In file included from /usr/local/php/main/httpd.h:72, from sapi_apache.c:32: /usr/local/php/main/ap_config.h:1386: warning: `XtOffsetOf' redefined /usr/local/php/main/php.h:346: warning: this is the location of the previous definition make[3]: *** [sapi_apache.lo] Error 1 make[3]: Leaving directory `/usr/local/php/sapi/apache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php/sapi/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php/sapi' make: *** [all-recursive] Error 1 koln:/usr/local/php # Previous Comments: ------------------------------------------------------------------------ [2002-05-21 08:44:48] [EMAIL PROTECTED] I doubt it's because of that _warning_. It's something else. And this is fixed in CVS (4.3.0-dev) btw. --Jani ------------------------------------------------------------------------ [2002-05-21 05:24:20] [EMAIL PROTECTED] Setting the status to feedback until more info is available ------------------------------------------------------------------------ [2002-05-21 04:12:01] [EMAIL PROTECTED] PHP 4.2.1 and Apache 1.3.19 httpd -l returns mod_so.c in the list. ./configure --with-oci8 --with-oracle --with-apxs=/usr/local/httpd/bin configure completes successfully. make fails with errors in the SAPI module. php.h tries to redefine XtOffsetOf when you are compiling with apxs. mentions main/php.h and also os.h and some other header files. I will post some more information when available. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17331&edit=1