Archived Forum Post

Index of archived forum posts

Question:

error 30 by installation Perl 20 Linux 64bit

Jun 23 '16 at 11:51

Hi,

may provider has changed the system to 64bit and Perl 20 Debian GNU/Linux 8 n l

I have donwload the file chilkat-9.5.0-perl-5.20-x86_64-linux

OK: gzip -dc chilkat-9.5.0-perl-5.20-x86_64-linux.tar.gz | tar -xof -

perl Makefile.PL

make

error by make install

ERROR: Can't create '/usr/local/share/perl/5.20.2' mkdir /usr/local/share/perl: Read-only file system at /usr/share/perl/5.20/ExtUtils/Install.pm line 476.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1. Makefile:695: recipe for target 'pure_site_install' failed make: *** [pure_site_install] Error 30

the path /usr/local/share/perl/5.20.2 always exist


Answer

The 1st two steps don't require su privileges:

perl Makefile.PL
make
However, the last step does. Use "sudo"
sudo make install


Answer

If "sudo" does not solve the problem, notice the error says "Read-only file system at... "

My guess is that /usr/local/share is a remote filesystem mounted read-only. But you need to modify a file on it..