From:             per at computer dot org
Operating system: linux
PHP version:      4.3.8
PHP Bug Type:     PCRE related
Bug description:  installation fails when php is built with an external pcre lib

Description:
------------
I built PHP 438 with an external PCRElib - after a build, a make install
fails with:

Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/share/man/man1/
Installing shared extensions:    
/usr/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/lib/php/

Fatal error: Call to undefined function:  preg_match() in
/usr/src/packages/SOURCES/php-4.3.8/pear/PEAR/Config.php on line 624
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2

Work-around:  add  'dl("pcre.so");' to the top of ./pear/PEAR.php.  


-- 
Edit bug report at http://bugs.php.net/?id=30782&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30782&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=30782&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=30782&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30782&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30782&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30782&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30782&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30782&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30782&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30782&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=30782&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=30782&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30782&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30782&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30782&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30782&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30782&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30782&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30782&r=mysqlcfg

Reply via email to