I am trying to upgrade from Perl v5.16.3 supplied by my shared hosting provider to Perl v5.32.0 by using Perlbrew. Perlbrew has installed fine by following the instruction \curl -L https://install.perlbrew.pl | bash from PuTTY.
Perl v5.32.0 has downloaded fine but it will not install. I run the command:
perlbrew install perl-5.32.0
and get the message
Installation process failed. To spot any issues, check
/home/shoples1/perl5/perlbrew/build.perl-5.32.0.log
Looking at the logfile everything makes sense. It shows the questions for a guided installation with the answers to the questions already filled in. Then right at the end is this:
Use which C compiler? [cc]
./trygcc: line 10: /usr/bin/cc: Permission denied
Uh-oh, the C compiler 'cc' doesn't seem to be working.
./trygcc: line 25: /usr/bin/gcc: Permission denied
./checkcc: line 10: /usr/bin/cc: Permission denied
Uh-oh, the C compiler 'cc' doesn't seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendo
+r,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
##### Brew Failed #####
I have previously installed modules from
CPAN using
PuTTY and SSH thanks to help from the Monastery. I know that I do not have access to install modules if I attempt it through cPanel but it has worked recently from an SSH shell.
Am I missing something obvious?
Is it possible that installing , will installing Perlbrew will upset any of the scripts already running on the server using Perl v5.16.3?