PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #324

pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level)

Details

Submitted2003-11-29 13:43 UTC
Frommfischer at php dot net
Assignedcellog
StatusClosed
PackagePEAR
PHP Version5.0.0b2 (beta2)
OSLinux Debian (sarge)
Roadmaps(Not assigned)

Comments

[2003-11-29 13:43 UTC] mfischer at php dot net

Description:
------------
Big note: I am using beta2 but it is not listed in the "PHP version" selection.

Reproduceable steps: beta2 installed without anything GTK related.

Reproduce code:
---------------
mfischer@sarge:~$ pear -G

Expected result:
----------------
I don't expect this to work anyway, but the error message reveals a programming error and not the real error message (which should be something about class not being found) if you look at the line in the given file:

return PEAR::raiseError("no such class: $uiclass");

Actual result:
--------------
Fatal error: Only variables or references can be returned by reference in /home/mfischer/install/php5/lib/php/PEAR/Command.php on line 174

[2003-11-29 13:46 UTC] mfischer at php dot net

Nm., I corrected the Version field by hand.