Pear installer and dependancy issue.

From: Date: Thu, 07 Aug 2003 15:22:42 +0000
Subject: Pear installer and dependancy issue.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7087@lists.php.net to get a copy of this message
Hi all, I have recently installed the PEAR package manager and ran it to install HTML_SetupWizard-1.0RC1.tgz It listed all the dependancies fine which I installed but it keeps falling over on the following requires package `PHP' >= 4.1.0 HTML_SetupWizard: Dependencies failed Now trudging through the code shows me that it should hit the function callCheckMethod in PEAR/Dependancy.php and check the version of php but for some reason it reads php as a package and tries to find a registry entry for it which obviously falls over. I'll carry on looking into how this is built up but if someone knows why this has happened I'd much appreciate a quick fix :o) Oh by the way the checkPHP version needs the following adding in as it doesn't do a check to see if the php version returned is a release candidate or not. $php_ver = phpversion(); **** new code check **** // checks for php release candidate usage if(stristr($php_ver, "-RC")) { $php_ver = substr($php_ver, 0, strpos($php_ver, '-')); } **** end new code check **** Hope this helps :o) Simon Mann

« previous php.pear.general (#7087) next »