[wicked] Pear issue SOLVED

Craig White craigwhite at azapple.com
Sun Feb 6 07:01:55 PST 2005


On Sun, 2005-02-06 at 12:23 +0100, Jan Schneider wrote:
> Zitat von Craig White <craigwhite at azapple.com>:
> 
> > trying to get wicked running - perhaps I've done something to screw pear
> > up...
> >
> > # pear install Text_Wiki
> >
> > Fatal error: Call to undefined function:  getopt2()
> > in /usr/share/pear/System.php on line 71
> 
> You have a broken PEAR. This has nothing to do with Wicked or 
> Text_Wiki, ask on the PEAR mailing list.
----
yeah - I guess I knew that and was just hoping that since you guys are
driving us into pear, that you would have the easy answer.

The easy answer (for my problem) was that pear is installed by php and
even removing php and reinstalling it, problem wouldn't clear out. So
obviously something wasn't getting cleaned up.

In this case - on RHEL 3 (YMMV) the solution was to get rid
of /usr/share/pear 

and thus these steps solved things for me:

mv /usr/share/pear /usr/share/pear.bak
cd /var/www/html/horde/framework
php install-packages.php
pear install Log
pear install Mail_Mime
pear upgrade DB
pear install Date
pear install Auth_SASL
pear install HTTP_Request
pear install File
pear install Text_Wiki
pear install Net_Sieve

I hope that this stays in the archive for someone else who follows down
this path and perhaps some basic pear issues (like this one) might be
worthy of putting on your 'wiki' at horde.org

If you agree, I will try to do that

Thanks

Craig




More information about the wicked mailing list