Perl CPAN Shell Configuration on Solaris

You might be encounter problem installing per module as below.

cc: unrecognized option `-KPIC' cc: language ildoff not recognized cc: ReadKey.c: linker input file unused because linking not done
optimize='-O3' cccdlflags=' '

If you have below error while compiling.

gcc: language arch=v8 not recognized

Remove the following option founded in file, usually there is 2 location.