Re: Problems with PEAR package manager
| From: | Tomas V.V.Cox | Date: | Wed, 12 Jun 2002 23:20:35 +0000 |
| Subject: | Re: Problems with PEAR package manager | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6973@lists.php.net to get a copy of this message | ||
Why you don't try:
# lynx -source http://pear.php.net/go-pear > go-pear
# virtual sh go-pear
Tomas V.V.Cox
Peter Bowyer wrote:
>
> Hi,
>
> Not sure if these should go to the PEAR-Dev or general list... I can't get
> the package manager installed properly:
> -----------8<--------------
> narrow-gauge% cvs -d :pserver:cvsread@cvs.php.net:/repository login
> (Logging in to cvsread@cvs.php.net)
> CVS password:
> narrow-gauge% lynx -source http://pear.php.net/go-pear | sh
>
> This script will install the PEAR Installer command 'pear' and
> all the files needed by it. The 'pear' command is the tool
> that can manage PEAR packages downloaded both from the PEAR website
> (http://pear.php.net) or from the 'pear/' CVS module of cvs.php.net.
>
> With this script you can also download and install
> the common PEAR files from CVS that also come with any PHP distribution
> (located at php4/pear in CVS). The common PEAR files means classes like
> PEAR DB, XML_Parser, IT template engine or Mail. Please read the
> FAQ at http://pear.php.net/faq.php for more information.
>
> For an explanation on how to use the PEAR Installer or what PEAR
> packages are, visit:
>
> http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt
>
> Which filename do you want to use for the 'pear' executable?
> [/usr/home/reywob/usr/local/bin/pear] :
> Some files need to be installed in your system
> In what directory do you want to install them?
> (note that the path has to be in the include_path of your php.ini)
> [/usr/home/reywob/usr/local/lib/php] :
> Do you also want to install the common PEAR files? [Y/n] : Y
> Downloading files...
> U php4/pear/.cvsignore
> U php4/pear/CMD.php
> <snip>
> U php4/pear/tests/user2.input
> done!
>
> Warning: stat failed for /usr/local/etc/pear.conf (errno=13 - Permission
> denied) in Config.php on line 245
> PEAR_Config::writeConfigFile fopen('/usr/local/etc/pear.conf','w') failed
> 1
> Warning: stat failed for /usr/local/etc/pear.conf (errno=13 - Permission
> denied) in Config.php on line 245
>
> Warning: MkDir failed (Permission denied) in System.php on line 235
>
> Warning: MkDir failed (No such file or directory) in System.php on line 235
> could not create directory '/usr/local/lib/php/.registry'
> 1
> Warning: stat failed for /usr/local/etc/pear.conf (errno=13 - Permission
> denied) in Config.php on line 245
>
> Warning: MkDir failed (Permission denied) in System.php on line 235
>
> Warning: MkDir failed (No such file or directory) in System.php on line 235
> could not create directory '/usr/local/lib/php/.registry'
> 1
> Warning: stat failed for /usr/local/etc/pear.conf (errno=13 - Permission
> denied) in Config.php on line 245
>
> Warning: MkDir failed (Permission denied) in System.php on line 235
>
> Warning: MkDir failed (No such file or directory) in System.php on line 235
> could not create directory '/usr/local/lib/php/.registry'
> 1
> Warning: stat failed for /usr/local/etc/pear.conf (errno=13 - Permission
> denied) in Config.php on line 245
>
> Warning: MkDir failed (Permission denied) in System.php on line 235
>
> Warning: MkDir failed (No such file or directory) in System.php on line 235
> could not create directory '/usr/local/lib/php/.registry'
> 1
> Warning: stat failed for /usr/local/etc/pear.conf (errno=13 - Permission
> denied) in Config.php on line 245
>
> Warning: MkDir failed (Permission denied) in System.php on line 235
>
> Warning: MkDir failed (No such file or directory) in System.php on line 235
> could not create directory '/usr/local/lib/php/.registry'
> 1
> The 'pear' command has been successfully installed under
> /usr/home/reywob/usr/local/bin/pear
> try it by typing '/usr/home/reywob/usr/local/bin/pear' for help
>
> narrow-gauge%
> -----------8<--------------
>
> Then, when I try to run the pear script I get the following errors:
> -----------8<--------------
> narrow-gauge% virtual pear list
> (no packages installed)
> narrow-gauge% virtual pear get
> Segmentation fault (core dumped)
> narrow-gauge% virtual pear help
> Segmentation fault (core dumped)
> narrow-gauge%
> -----------8<--------------
>
> FYI, I have to use the "virtual" command because I'm on an iServer/Verio
> virtual private server (some form of jailed FreeBSD I believe) so the
> actual server root doesn't match up with my root when running scripts via ssh.
>
> Any idea what the problem is?
> Thanks
> Peter
>
> --oOo--
> Narrow Gauge on the web - photos, directory and forums!
> http://www.narrow-gauge.co.uk
> --oOo--
> Glenbranter - Scottish narrow gauge in 009
> http://glenbranter.narrow-gauge.co.uk
> --oOo--
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php