php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23697 When compiling php4.3.2RC3 with apache2, it fails other failure than prior ver.
Submitted: 2003-05-19 08:32 UTC Modified: 2003-05-19 10:31 UTC
From: php-bugs at liwing dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2RC3 OS: FreeBSD 4-STABLE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php-bugs at liwing dot de
New email:
PHP Version: OS:

 

 [2003-05-19 08:32 UTC] php-bugs at liwing dot de
/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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-19 09:15 UTC] sniper@php.net
What were the configure lines for both Apache2 and PHP you have used here?

 [2003-05-19 09:42 UTC] sniper@php.net
PHP:
./configure  --with-apxs2=/usr/local/sbin/apxs --with-tsrm-pth
--with-config-file-path=/usr/local/etc --enable-versioning
--with-regex=system --without-gd --without-mysql --with-gd=/usr/local
--enable-gd-native-ttf --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib
--with-bz2=/usr --with-mcrypt=/usr/local --with-mhash=/usr/local
--with-mysql=/usr/local --with-interbase=/usr/local/firebird
--with-pgsql=/usr/local --with-ldap=/usr/local
--with-expat-dir=/usr/local --with-dom=/usr/local
--with-dom-xslt=/usr/local --with-dom-exslt=/usr/local --with-xmlrpc
--enable-xslt --with-xslt-sablot=/usr/local --with-gettext=/usr/local
--with-iconv=/usr/local --enable-sockets --enable-sysvsem
--enable-sysvshm --with-openssl=/usr --prefix=/usr/local
i386-portbld-freebsd4.8 

Apache2:
/configure --prefix=/usr/local --enable-layout=FreeBSD
--with-perl=/usr/bin/perl5.6.1 --enable-so --with-mpm=prefork
--with-port=80 --with-expat=/usr/local --libdir=/usr/local/lib/apache2
--includedir=/usr/local/include/apache2 --enable-v4-mapped
--with-ssl=/usr --enable-mods-shared=all cgid deflate ext_filter proxy
proxy-connect proxy-ftp  proxy-http ssl i386-portbld-freebsd4.8 

 [2003-05-19 09:43 UTC] sniper@php.net
Remove --with-regex=system from the php configure line
and try again. (use clean sources)

 [2003-05-19 10:04 UTC] php-bugs at liwing dot de
The build works fine now using "--with-regex" instead of "--with-regex=system". I will do some tests and look if they work as expected, but I think even if sth. fail it will not become a compiler issue.

Thanks,
Jens
 [2003-05-19 10:10 UTC] sniper@php.net
Thus this was bogus report. Using --with-regex=system should never ever be used if you don't know exacly what you're doing.

 [2003-05-19 10:13 UTC] php-bugs at liwing dot de
This comes from the FreeBSD port system, espacially from Dirk Froemberg (dirk at free bsd org) and I assume that he really knows what he does.
 [2003-05-19 10:17 UTC] php-bugs at liwing dot de
Oops, setting open instead of closed. I don't think it's bogus but I will send a FreeSBD patch a.s.a.p. and wrote your oppinion 'bout that into the patch comment. Is that acceptable for you?

Cheers,
Jens
 [2003-05-19 10:31 UTC] sniper@php.net
Still not PHP bug -> bogus.
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 05:01:28 2024 UTC