#23697 [Opn->Bgs]: When compiling php4.3.2RC3 with apache2, it fails other failure than prior ver.

From: Date: Mon, 19 May 2003 15:10:12 +0000
Subject: #23697 [Opn->Bgs]: When compiling php4.3.2RC3 with apache2, it fails other failure than prior ver.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39976@lists.php.net to get a copy of this message
ID: 23697 Updated by: sniper@php.net Reported By: php-bugs at liwing dot de -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: FreeBSD 4-STABLE PHP Version: 4.3.2RC3 New Comment: Thus this was bogus report. Using --with-regex=system should never ever be used if you don't know exacly what you're doing. Previous Comments: ------------------------------------------------------------------------ [2003-05-19 10:04:48] 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 09:43:41] sniper@php.net Remove --with-regex=system from the php configure line and try again. (use clean sources) ------------------------------------------------------------------------ [2003-05-19 09:42:47] 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:15:38] sniper@php.net What were the configure lines for both Apache2 and PHP you have used here? ------------------------------------------------------------------------ [2003-05-19 08:32:34] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23697&edit=1

« previous php.bugs (#39976) next »