From: php-bugs at liwing dot de
Operating system: FreeBSD 4-STABLE
PHP version: 4.3.2RC3
PHP Bug Type: Compile Failure
Bug description: When compiling php4.3.2RC3 with apache2, it fails other failure than prior ver.
/bin/sh /usr/ports/www/mod_php4/work/php-4.3.2RC3/libtool --silent
--preserve-dup-deps --mode=compile cc -Isapi/apache2handler/
-I/usr/ports/www/mod_php4/work/
php-4.3.2RC3/sapi/apache2handler/ -DPHP_ATOM_INC
-I/usr/ports/www/mod_php4/work/php-4.3.2RC3/include
-I/usr/ports/www/mod_php4/work/php-4.3.2RC3/main -I/usr/por
ts/www/mod_php4/work/php-4.3.2RC3 -I/usr/local/include/apache2
-I/usr/ports/www/mod_php4/work/php-4.3.2RC3/Zend
-I/usr/local/include/libxml2 -I/usr/local/includ
e -I/usr/local/include/mysql
-I/usr/ports/www/mod_php4/work/php-4.3.2RC3/TSRM -O -pipe -march=k6
-I/usr/local/include -pthread -prefer-pic -c /usr/ports/www/
mod_php4/work/php-4.3.2RC3/sapi/apache2handler/sapi_apache2.c -o
sapi/apache2handler/sapi_apache2.lo
In file included from /usr/local/include/apache2/httpd.h:86,
from /usr/local/include/apache2/util_filter.h:61,
from
/usr/ports/www/mod_php4/work/php-4.3.2RC3/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/include/apache2/pcreposix.h:26: warning: `REG_ICASE' redefined
/usr/include/regex.h:63: warning: this is the location of the previous
definition
/usr/local/include/apache2/pcreposix.h:27: warning: `REG_NEWLINE'
redefined
/usr/include/regex.h:65: warning: this is the location of the previous
definition
/usr/local/include/apache2/pcreposix.h:28: warning: `REG_NOTBOL'
redefined
/usr/include/regex.h:91: warning: this is the location of the previous
definition
/usr/local/include/apache2/pcreposix.h:29: warning: `REG_NOTEOL'
redefined
/usr/include/regex.h:92: warning: this is the location of the previous
definition
/usr/local/include/apache2/pcreposix.h:34: warning: `REG_EXTENDED'
redefined
/usr/include/regex.h:62: warning: this is the location of the previous
definition
/usr/local/include/apache2/pcreposix.h:35: warning: `REG_NOSUB' redefined
/usr/include/regex.h:64: warning: this is the location of the previous
definition
In file included from /usr/local/include/apache2/httpd.h:86,
from /usr/local/include/apache2/util_filter.h:61,
from
/usr/ports/www/mod_php4/work/php-4.3.2RC3/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/include/apache2/pcreposix.h:40: syntax error before `15'
/usr/local/include/apache2/pcreposix.h:53: syntax error before `12'
/usr/local/include/apache2/pcreposix.h:66: conflicting types for
`regex_t'
/usr/include/regex.h:53: previous declaration of `regex_t'
/usr/local/include/apache2/pcreposix.h:70: conflicting types for
`regoff_t'
/usr/include/regex.h:46: previous declaration of `regoff_t'
/usr/local/include/apache2/pcreposix.h:75: conflicting types for
`regmatch_t'
/usr/include/regex.h:58: previous declaration of `regmatch_t'
/usr/local/include/apache2/pcreposix.h:79: conflicting types for
`regcomp'
/usr/include/regex.h:99: previous declaration of `regcomp'
/usr/local/include/apache2/pcreposix.h:80: conflicting types for
`regexec'
/usr/include/regex.h:102: previous declaration of `regexec'
/usr/local/include/apache2/pcreposix.h:81: conflicting types for
`regerror'
/usr/include/regex.h:100: previous declaration of `regerror'
/usr/local/include/apache2/pcreposix.h:82: conflicting types for
`regfree'
/usr/include/regex.h:103: previous declaration of `regfree'
*** Error code 1
Stop in /usr/ports/www/mod_php4/work/php-4.3.2RC3.
*** Error code 1
Stop in /usr/ports/www/mod_php4.
*** Error code 1
Stop in /usr/ports/www/mod_php4.
root@fozzie # exit
Script done on Mon May 19 13:19:57 2003
I can upload the entire log to a webserver, if required.
Jens
--
Edit bug report at http://bugs.php.net/?id=23697&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23697&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23697&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23697&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23697&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23697&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23697&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23697&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23697&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23697&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23697&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23697&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23697&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23697&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23697&r=gnused