ID:               24552
 User updated by:  malekjo at aphrodite dot com
 Reported By:      malekjo at aphrodite dot com
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux Mandrake 9.1 2.4.21-0.13
 PHP Version:      4.3.2
 New Comment:

D'OH...sorry to waste your time, don't I feel dumb...should've caught
that.


Previous Comments:
------------------------------------------------------------------------

[2003-07-09 07:34:26] [EMAIL PROTECTED]

Remove --with-regex=system from your configure line.
(And read the ./configure --help about this option)


------------------------------------------------------------------------

[2003-07-08 21:13:18] malekjo at aphrodite dot com

Description:
------------
Seems as if the regex #defines are all mixed up...something is
redefining the system regex.h definitions and not keeping it in its own
namespace.

Configure:
'./configure' '--with-apxs2filter=/home/httpd/IBMHTTPServer/bin/apxs'
'--with-apxs2=/home/httpd/IBMHTTPServer/bin/apxs' '--enable-fastcgi'
'--enable-force-cgi-redirect' '--enable-discard-path' '--enable-debug'
'--with-config-file-path=/etc' '--with-pear' '--with-openssl'
'--enable-magic-quotes' '--disable-short-tags' '--with-zlib'
'--enable-bcmath' '--with-bz2' '--with-curl' '--with-gdbm'
'--with-ndmb' '--with-dom' '--enable-exif' '--enable-ftp'
'--with-gettext' '--with-gmp' '--with-kerberos' '--with-calendar'
'--with-mcal=/home/joe/libmcal' '--with-mhash'
'--with-ldap=/home/joe/builds' '--enable-shmop' '--enable-sockets'
'--with-regex=system' '--enable-sysvsem' '--enable-sysvshm'
'--enable-tokenizer' '--enable-wddx' '--enable-yp'
'--enable-inline-optimization' '--enable-memory-limit'
'--enable-sigchild' '--with-mysql=/usr' '--prefix=$HOME/builds'
'--enable-force-cgi-redirect'

Successfully executes, then upon make the following occures:
/bin/sh /home/joe/builds/php-4.3.2/libtool --preserve-dup-deps
--mode=compile /home/joe/builds/php-4.3.2/meta_ccld 
-Isapi/apache2filter/ -I/home/joe/builds/php-4.3.2/sapi/apache2filter/
-DPHP_ATOM_INC -I/home/joe/builds/php-4.3.2/include
-I/home/joe/builds/php-4.3.2/main -I/home/joe/builds/php-4.3.2
-I/home/httpd/IBMHTTPServer/include -I/home/joe/builds/php-4.3.2/Zend
-I/usr/include/libxml2 -I/home/joe/builds/include -I/home/joe/libmcal
-I/usr/local/include -I/usr/include/mysql
-I/home/joe/builds/php-4.3.2/ext/xml/expat  -D_REENTRANT
-I/home/joe/builds/php-4.3.2/TSRM  -g -O2 -pthread -Wall -DZTS 
-prefer-pic -c
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c -o
sapi/apache2filter/sapi_apache2.lo 
/home/joe/builds/php-4.3.2/meta_ccld -Isapi/apache2filter/
-I/home/joe/builds/php-4.3.2/sapi/apache2filter/ -DPHP_ATOM_INC
-I/home/joe/builds/php-4.3.2/include -I/home/joe/builds/php-4.3.2/main
-I/home/joe/builds/php-4.3.2 -I/home/httpd/IBMHTTPServer/include
-I/home/joe/builds/php-4.3.2/Zend -I/usr/include/libxml2
-I/home/joe/builds/include -I/home/joe/libmcal -I/usr/local/include
-I/usr/include/mysql -I/home/joe/builds/php-4.3.2/ext/xml/expat
-D_REENTRANT -I/home/joe/builds/php-4.3.2/TSRM -g -O2 -pthread -Wall
-DZTS -c /home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c  
-fPIC -DPIC -o sapi/apache2filter/sapi_apache2.lo
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:26:1: warning:
"REG_ICASE" redefined
In file included from /home/joe/builds/php-4.3.2/main/php_regex.h:39,
                 from /home/joe/builds/php-4.3.2/main/php.h:74,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:25:
/usr/include/regex.h:266:1: warning: this is the location of the
previous definition
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:27:1: warning:
"REG_NEWLINE" redefined
In file included from /home/joe/builds/php-4.3.2/main/php_regex.h:39,
                 from /home/joe/builds/php-4.3.2/main/php.h:74,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:25:
/usr/include/regex.h:271:1: warning: this is the location of the
previous definition
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:28:1: warning:
"REG_NOTBOL" redefined
In file included from /home/joe/builds/php-4.3.2/main/php_regex.h:39,
                 from /home/joe/builds/php-4.3.2/main/php.h:74,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:25:
/usr/include/regex.h:285:1: warning: this is the location of the
previous definition
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:29:1: warning:
"REG_NOTEOL" redefined
In file included from /home/joe/builds/php-4.3.2/main/php_regex.h:39,
                 from /home/joe/builds/php-4.3.2/main/php.h:74,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:25:
/usr/include/regex.h:288:1: warning: this is the location of the
previous definition
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:34:1: warning:
"REG_EXTENDED" redefined
In file included from /home/joe/builds/php-4.3.2/main/php_regex.h:39,
                 from /home/joe/builds/php-4.3.2/main/php.h:74,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:25:
/usr/include/regex.h:262:1: warning: this is the location of the
previous definition
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:35:1: warning:
"REG_NOSUB" redefined
In file included from /home/joe/builds/php-4.3.2/main/php_regex.h:39,
                 from /home/joe/builds/php-4.3.2/main/php.h:74,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:25:
/usr/include/regex.h:275:1: warning: this is the location of the
previous definition
In file included from /home/httpd/IBMHTTPServer/include/httpd.h:86,
                 from
/home/httpd/IBMHTTPServer/include/util_filter.h:61,
                 from
/home/joe/builds/php-4.3.2/sapi/apache2filter/sapi_apache2.c:36:
/home/httpd/IBMHTTPServer/include/pcreposix.h:41: conflicting types for
`REG_BADBR'
/usr/include/regex.h:312: previous declaration of `REG_BADBR'
/home/httpd/IBMHTTPServer/include/pcreposix.h:42: conflicting types for
`REG_BADPAT'
/usr/include/regex.h:304: previous declaration of `REG_BADPAT'
/home/httpd/IBMHTTPServer/include/pcreposix.h:43: conflicting types for
`REG_BADRPT'
/usr/include/regex.h:315: previous declaration of `REG_BADRPT'
/home/httpd/IBMHTTPServer/include/pcreposix.h:44: conflicting types for
`REG_EBRACE'
/usr/include/regex.h:311: previous declaration of `REG_EBRACE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:45: conflicting types for
`REG_EBRACK'
/usr/include/regex.h:309: previous declaration of `REG_EBRACK'
/home/httpd/IBMHTTPServer/include/pcreposix.h:46: conflicting types for
`REG_ECOLLATE'
/usr/include/regex.h:305: previous declaration of `REG_ECOLLATE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:47: conflicting types for
`REG_ECTYPE'
/usr/include/regex.h:306: previous declaration of `REG_ECTYPE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:48: conflicting types for
`REG_EESCAPE'
/usr/include/regex.h:307: previous declaration of `REG_EESCAPE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:50: conflicting types for
`REG_EPAREN'
/usr/include/regex.h:310: previous declaration of `REG_EPAREN'
/home/httpd/IBMHTTPServer/include/pcreposix.h:51: conflicting types for
`REG_ERANGE'
/usr/include/regex.h:313: previous declaration of `REG_ERANGE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:52: conflicting types for
`REG_ESIZE'
/usr/include/regex.h:319: previous declaration of `REG_ESIZE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:53: conflicting types for
`REG_ESPACE'
/usr/include/regex.h:314: previous declaration of `REG_ESPACE'
/home/httpd/IBMHTTPServer/include/pcreposix.h:54: conflicting types for
`REG_ESUBREG'
/usr/include/regex.h:308: previous declaration of `REG_ESUBREG'
/home/httpd/IBMHTTPServer/include/pcreposix.h:57: conflicting types for
`REG_NOMATCH'
/usr/include/regex.h:300: previous declaration of `REG_NOMATCH'
/home/httpd/IBMHTTPServer/include/pcreposix.h:57: confused by earlier
errors, bailing out
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24552&edit=1

Reply via email to