FreeBSD: ./+INSTALL: Permission denied

====> Compressing man pages (compress-man)
===> Building package for perl5-5.16.3_3
Creating package /usr/ports/lang/perl5.16/work/perl5-5.16.3_3.tbz
Registering depends:.
Registering conflicts: perl5.12-* perl5.14-* perl5.16-* perl5.18-*.
Creating bzip’d tar ball in ‘/usr/ports/lang/perl5.16/work/perl5-5.16.3_3.tbz’
===> Installing for perl5-5.16.3_3
===> Checking if lang/perl5.16 already installed
./+INSTALL: Permission denied
pkg_add: install script returned error status
*** [install-package] Error code 1

Stop in /usr/ports/lang/perl5.16.
*** [install] Error code 1

Stop in /usr/ports/lang/perl5.16

The error is caused because your /tmp is mounted with noexec in the fstab

mkdir /usr/tmp
export TMPDIR=/usr/tmp

And try again with make install, did work for me :)

gr gr!

Leave a Reply

Your email address will not be published. Required fields are marked *