From:             [EMAIL PROTECTED]
Operating system: All
PHP version:      4.0CVS-2002-03-20
PHP Bug Type:     Compile Failure
Bug description:  --without-pcre-regex breaks build

This affects the 4.2.0 release branch and HEAD.

Trying to build --without-pcre-regex breaks the build, because there are
unconditional references to the pcre extension/library in
ext/standard/aggregation.c and main/SAPI.c:

ext/standard/aggregation.o: In function `aggregate_methods':
ext/standard/aggregation.o(.text+0x1ae): undefined reference to
`pcre_get_compiled_regex'
ext/standard/aggregation.o(.text+0x2c7): undefined reference to
`php_pcre_exec'
ext/standard/aggregation.o: In function `aggregate_properties':
ext/standard/aggregation.o(.text+0x528): undefined reference to
`pcre_get_compiled_regex'
ext/standard/aggregation.o(.text+0x60a): undefined reference to
`php_pcre_exec'
main/SAPI.o: In function `sapi_add_header_ex':
main/SAPI.o(.text+0xd62): undefined reference to `php_pcre_replace'
main/SAPI.o(.text+0xdbf): undefined reference to `php_pcre_replace'

-- 
Edit bug report at http://bugs.php.net/?id=16182&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16182&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16182&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16182&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16182&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16182&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16182&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16182&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16182&r=submittedtwice

Reply via email to