Problem installing package

From: Date: Sat, 13 Feb 2010 17:54:27 +0000
Subject: Problem installing package
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30289@lists.php.net to get a copy of this message
Hi, I'm a complete newbie with PEAR, but have done quite a lot of PHP work, but it's been a while. So, I'm running Debian Lenny on my development box, which contains a reasonably up-to-date PHP/PEAR (I think): $ pear version PEAR Version: 1.7.1 PHP Version: 5.2.6-1+lenny4 Zend Engine Version: 2.2.0 Running on: Linux tony-lx 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 I've worked my way through the instructions at http://pear.php.net/manual/en/installation.php and everything, including "Checking if PEAR works" seems fine. I didn't have to change any settings, and I was quite pleased with myself! The objective of this was: $ pear install HTML_Template_PHPLIB-1.5.0 which resulted in: Cannot install, php_dir for channel "pear.php.net" is not writeable by the current user So I tried it as root: root@/home/tony$ pear install HTML_Template_PHPLIB-1.5.0 Could not open input file: /usr/local/lib/php/pearcmd.php So I thought this might fix it: tony@tony-lx:~$ sudo chgrp -R adm /usr/share (I'm member of adm) Better, but no cigar: tony@tony-lx:~$ pear install HTML_Template_PHPLIB-1.5.0 downloading HTML_Template_PHPLIB-1.5.0.tgz ... Starting to download HTML_Template_PHPLIB-1.5.0.tgz (18,028 bytes) ......done: 18,028 bytes ERROR: failed to write /usr/bin/.tmphtml_template_phplibtool: copy(/usr/bin/.tmphtml_template_phplibtool): failed to open stream: Permission denied Now, before I stumble around any more, reconfiguring my entire system, I figure I need help, so here I am. Can anyone please give me a pointer? TIA, Tony -- Tony van der Hoff | mailto:tony@vanderhoff.org Buckinghamshire, England |

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