PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Gtk2 Components » Gtk2_PHPConfig » Bug #9356

problem at installation stage.

Details

Submitted2006-11-16 18:16 UTC
Fromm dot quinton at gmail dot com
StatusBogus
PackageGtk2_PHPConfig
PHP Version5.1.2
OSlinux - ubuntu
Roadmaps(Not assigned)

Comments

[2006-11-16 18:16 UTC] m dot quinton at gmail dot com

Description:
------------
when installing package with Gnope-Installer, as non root user, there is an error :

Starting to download Gtk2_PHPConfig-1.0.0RC1.tgz (23,616 bytes)

...done: 23,616 bytes

ERROR: failed to write /usr/bin/.tmpgtk2_phpconfig: failed to open stream: Permission non accordée

- temporary files should be located a this location.
- other package install work perfectly.
- I have made a chown for every pear files avoiding using sudo command for pear admin.

[2006-11-16 19:05 UTC] anant at php dot net

Thank you for taking the time to write to us, but this is not
a bug.

PEAR is not meant to be run as a non-root user. If you want to
install a package, use 'sudo' or just login as the root user.

[2006-11-16 19:14 UTC] anant at php dot net

To explain further, Gtk2_PHPConfig creates an additional
file called 'gtk2_phpconfig' in /usr/bin for *nix systems.
non-root users do not have access to that directory, hence
the permission error.

If you don't want the "easy excutable" sitting in your /usr/
bin, simply comment or remove the following lines in
package.xml and re-install the package:

<dir baseinstalldir="/" name="/">
<file name="gtk2_phpconfig" role="script" platform="unix" />
</dir>