pear installation for mailwatch 0.3

kfliong kfliong at WOFS.COM
Thu Sep 18 02:24:12 IST 2003


i am doing an upgrade on mailwatch 0.3. I am following the steps in UPGRADE.

This is what i get when I try to install pear :

[root at wofs.com /]# pear install Mail
<br />
<b>Warning</b>:  call_user_func() expects first argument,
'PEAR_Command_Build::getCommands', to be a valid callback in
<b>/usr/share/pear/PEAR/Command.php</b> on line <b>180</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in
<b>/usr/share/pear/PEAR/Command.php</b> on line <b>181</b><br />
downloading http://pear.php.net/get/Mail ...
...done: 13,156 bytes

'Net_SMTP' PEAR package is not installed
Dependencies failed
[root at wofs.com /]# pear install Net_SMTP
<br />
<b>Warning</b>:  call_user_func() expects first argument,
'PEAR_Command_Build::getCommands', to be a valid callback in
<b>/usr/share/pear/PEAR/Command.php</b> on line <b>180</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in
<b>/usr/share/pear/PEAR/Command.php</b> on line <b>181</b><br />
downloading http://pear.php.net/get/Net_SMTP ...
...done: 6,183 bytes

Relation 'has' with requirement '' is not supported
Dependencies failed


Any idea what I should do next? Can I re-install pear? If yes how? I did
try to

% lynx -source http://go-pear.org | php -q

But I get error saying unable to connect to go-pear.org. But when I ping
go-pear.org, I did get replies.

Thanks in advance.



More information about the MailScanner mailing list