[OpenIndiana-discuss] Which compiler to use for Perl modules?

Jonathan Adams t12nslookup at gmail.com
Thu May 24 11:55:05 UTC 2012


not perfect, but you might be able to get the installed perl to
compile by doing the following:

cd /usr/perl5
cp ./5.10.0/lib/i86pc-solaris-64int/Config.pm
./5.10.0/lib/i86pc-solaris-64int/Config.pm.bak
cp ./5.10.0/lib/Sun/Solaris/PerlGcc/Config.pm
./5.10.0/lib/i86pc-solaris-64int/Config.pm

fix ./5.10.0/lib/i86pc-solaris-64int/Config_heavy.pl:
change KPIC -> fPIC
change optimize='-O2 -fno-strict-aliasing'
change ld='gcc'

Jon

On 24 May 2012 12:43, Henner Gratz <hpg at uni-bremen.de> wrote:
> Hello,
>
> I need to install a few Perl modules on one of my OpenIndiana boxes
> (oi151a4),
> Digest::MD4 for example. Unfortunately the usual way of installation (perl
> Makefile.PL ;
> make ; ...) doesn't work because the created Makefiles are configured for
> the
> Sun/Solaris Studio compiler. How to proceed now? Download Oracle's Solaris
> Studio
> compiler or modify the Makefiles to use gcc instead of cc? Which compiler
> was used
> for buidling perl?
>
>  Thank you very much for your help in advance.
>
>
> Regards,
>
>   Henner
>
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the OpenIndiana-discuss mailing list