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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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 12:01:30 2024 UTC