Solaris Perl CPAN
solaris troubleshooting perl system administration
Today, I was searching Google for help installing Perl modules through CPAN using the default Solaris Perl. Sadly, my own blog was one of the search results, and it was no help. I guess this entry is going to make the situation even worse. So I suppose I should put some useful information:
- Solaris Perl is compiled using Sun Studio and not gcc
- You must compile Perl modules with the same compiler Perl was compiled with
- The Blastwave Perl is also uselessly compiled using Sun Studio and not gcc
- Sun Studio is now free instead of thousands of dollars and free to download
- The Sunfreeware Perl Package is compiled with gcc. Go sanity! I’m sure if you cared enough and wanted to waste time, you could download the Sun Studio compiler just for your handful of Perl modules, or you could download the Sunfreeware package and use gcc, the compiler that God intended you to use. Your choice man. BTW, Sun, you suck.
Comments
Aidan
Thanks man, this tip has helped me A LOT.
Btw, google is marking your website as dangerous. When i googled "solaris perl cpan" this site is the third entry but has a warning page (http://www.google.co.nz/int...
Sean Blanton
Apparently perlgcc will configure gcc flags to target Solars dev works - or, is this also your post?
Ciges
Thanks you very much!
I am now compiling with success Perl modules on Solaris 10 thanks to your briefs and crystal clear indications :-)