Re: PEAR and make install on master

From: Date: Mon, 19 Jan 2015 06:58:17 +0000
Subject: Re: PEAR and make install on master
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> Fatal error: Non-static method PEAR_Installer_Role::initializeConfig()
> cannot be called statically, assuming $this from incompatible context in
> phar:///.../pear/install-pear-nozlib.phar/PEAR/Config.php on line 599
> make[1]: *** [install-pear-installer] Error 255
> make: *** [install-pear] Error 2
> 
> I've tried to look up the pear MLs, but I haven't seen any recent
> activity... what's the plan, if any?

Can't we just fix it? As I understand, it's just making this:

    function initializeConfig(&$config)

into this:

    static function initializeConfig(&$config)

In PEAR/Installer/Role.php but I'm not sure where to commit the patch or
how to get it into phars (they don't seem to be the latest code in git).
Anybody knows what's the right way here?

-- 
Stas Malyshev
[email protected]


Thread (14 messages)

« previous php.internals (#80773) next »