Subject: Re: installing pear fatal error [solved]
To: pkgsrc-users@NetBSD.org <pkgsrc-users@NetBSD.org>
From: None <netbsd-users@rmroppert.de>
List: pkgsrc-users
Date: 07/08/2007 22:19:51
Am Donnerstag, 5. Juli 2007 um 23:34 schrieben Sie:

> i want to install /lang/pear
> and i got this error


>  Running PRE-INSTALL script actions
> /usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/examples/pear
> /usr/pkg/bin/php
> /usr/pkgsrc/lang/pear/work/PEAR-1.5.4/install/go-pear.php local
> mkdir failed: </>

> ******************************************************************************
> FATAL ERROR! We cannot initialize the temp directory. Please be sure to give
> full write access to this directory and the install directory.

> '/tmp' was given./usr/bin/install -c -o root -g wheel -m 555
> /usr/pkgsrc/lang/pear/work/PEAR-1.5.4/pear.sh /usr/pkg/bin/pear
> /bin/cp /etc/pear.conf /usr/pkg/share/examples/pear


> The /tmp directory exists and is writeable.

It was my mistake.
There was an open_basedir restriction in php.ini activ.
And the install-script go_pear.php used this.
I didn't thought about this.
Sorry for the noise.

Best regards
Reinhold




-- 
R M Roppert