php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30782 installation fails when php is built with an external pcre lib
Submitted: 2004-11-14 17:58 UTC Modified: 2004-11-14 18:16 UTC
From: per at computer dot org Assigned:
Status: Not a bug Package: PCRE related
PHP Version: 4.3.8 OS: linux
Private report: No CVE-ID: None
 [2004-11-14 17:58 UTC] per at computer dot org
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.  


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-14 18:16 UTC] derick@php.net
Please file bugs about the PEAR installer at http://pear.php.net/bugs/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 05:01:29 2024 UTC