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

Henner Gratz hpg at uni-bremen.de
Thu May 24 12:47:02 UTC 2012


Hello Jon!

Thank you very much for your fast reply. I appreciate it very much. Patching the
Config module is much better than modifying every makefile. And the best is: It works!


Best regards,

      Henner

On 24 May 2012 11:55 UTC, Jonathan Adams wrote:
>  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  <http://openindiana.org/mailman/listinfo/openindiana-discuss>>  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
/>  >/
/



More information about the OpenIndiana-discuss mailing list