php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25241 --disable-all not honored upon make install
Submitted: 2003-08-25 18:59 UTC Modified: 2003-08-27 17:19 UTC
From: sas@php.net Assigned: sniper (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.3.3 OS: Any
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: sas@php.net
New email:
PHP Version: OS:

 

 [2003-08-25 18:59 UTC] sas@php.net
Description:
------------
PEAR should deactivate itself, if its dependencies (pcre) are not satisfied.

$ CFLAGS="-O0 -pipe" CC=gcc ../configure --disable-all --prefix=/tmp/phpinst
$ make
$ sudo make install
Installing PHP SAPI module:       cgi
Installing PHP CGI into: /tmp/phpinst/bin/
Installing shared extensions:     /tmp/phpinst/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /tmp/phpinst/lib/php/

Fatal error: Call to undefined function:  preg_match() in /.lrg/lrg/php4/pear/PEAR/Frontend/CLI.php on line 52
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-27 06:43 UTC] cox@php.net
I've reported that already to Illa. PEAR needs --with-pcre-regex and --enable-xml. I guess this belongs more to compile issues category as it's the build infrastructure who has to detect this and stop the "configure" process.
 [2003-08-27 12:16 UTC] sniper@php.net
In PHP 5 configure there are already checks for the dependancies. I'll backport those and couple of other configure cleanups later today.

 [2003-08-27 17:19 UTC] sniper@php.net
This is fixed in PHP_4_3 branch now. 

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 07:01:33 2025 UTC