Home » PEAR » PEAR » Bug #2752
installation fails when php is built with an external pcre lib
Details
| Submitted | 2004-11-14 18:03 UTC |
|---|---|
| From | per at computer dot org |
| Assigned | cellog |
| Status | Closed |
| Package | PEAR |
| PHP Version | 4.3.8 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2004-11-14 18:03 UTC] per at computer dot org
Description:
------------
This isn't exactly a "website bug", but I didn't see a suitable category.
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.