Tuesday, November 8, 2011

FATAL ERROR! We cannot initialize the temp directory

I tried to install pecl-memcached in a jail environment.

# cd /usr/ports/databases/pecl-memcached
# make install

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

/go-pear was given.sed: /usr/local/share/pear/peclcmd.php: No such file or directory

# cat /s/portbuild/usr/ports/devel/pear/work/pear-1.9.3/go-pear | grep 'FATAL ERROR'

Solution:

make sure you have write permission to /go-pear.

# cd /usr/jail/read-only/root
# ln -s s/go-pear go-pear

No comments: