Bug #58816 [Com]: pecl package installation error

From: Date: Fri, 21 Sep 2012 10:07:59 +0000
Subject: Bug #58816 [Com]: pecl package installation error
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9829@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=58816&edit=1 ID: 58816 Comment by: raphael dot droz at gmail dot com Reported by: sdfl201 at yahoo dot com Summary: pecl package installation error Status: Open Type: Bug Package: PECL bug system Operating System: ubuntu jaunty PHP Version: 5.2.6 Block user comment: N Private report: N New Comment: looks like if https://pear.php.net/bugs/bug.php?id=6480 wasn't really fixed. Previous Comments: ------------------------------------------------------------------------ [2012-09-21 09:53:19] raphael dot droz at gmail dot com If you set a local pear directory: $ pear config-set ext_dir ~/.pear/extensions this will work for pear, but NOT for pecl: $ pear install pecl/Mailparse [...] running: make INSTALL_ROOT="/home/user/.pear/extensions/tmp/..." [...] Installing '/usr/lib/php5/20100525+lfs/mailparse.so' ERROR: failed to write /usr/lib/php5/20100525+lfs/mailparse.so ... (Debian, php-pear, 5.4.4-7) ------------------------------------------------------------------------ [2012-06-25 17:17:11] mak at mak-sfc dot com You don't need to modify the chmod for all the /usr directory. You just have to run PECL as super user. Juste type sudo pecl <whatever>... -mak ------------------------------------------------------------------------ [2010-04-03 18:46:33] cmonahan at yahoo dot com I had this error because /usr was mounted readonly. Run "mount -o remount,rw /usr" then try your command again. ------------------------------------------------------------------------ [2009-08-18 05:58:26] sdfl201 at yahoo dot com Description: ------------ Description: ------------ when i try to install any package with pecl , system gives this error $ pecl install svn-beta Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user fatih@fatih-laptop:~$ sudo pecl install svn-beta [sudo] password for fatih: downloading svn-0.5.0.tgz ... Starting to download svn-0.5.0.tgz (23,504 bytes) ........done: 23,504 bytes ERROR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_doc" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=58816&edit=1

« previous php.pecl.dev (#9829) next »