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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: per at computer dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 04:00:02 2025 UTC