Mantis - pm_tt2
Viewing Issue Advanced Details
1308 regular use minor always 2005-11-17 09:31 2005-12-15 16:34
ssinyagin  
comand  
normal  
closed  
won't fix  
none    
none  
0001308: CPAN options for GCC
Hi,
The Perl binary has builtin parameters tuned for Sun compiler, and CPAN fails to compile modules if there\'s GCC only. The following line in /opt/csw/share/perl/5.8.7/CPAN/Config.pm fixes this problem:
  \'makepl_arg\' => q[CC=/opt/csw/gcc3/bin/gcc LD=/opt/csw/gcc3/bin/gcc CCCDLFLAGS=-fPIC CCFLAGS=\'-D_REENTRANT -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\' OPTIMIZE=-mcpu=v8],

It would be good somehow to automate this configuration, or at least document it in Perl package notes.
Issue History

Notes
(0002646)
ssinyagin   
2005-11-21 10:55   
There are also some problems, even with the \'makepl_arg\' set up. Template-Toolkit needs some manual hacking in order to compile. See more details at:

http://wiki.torrus.org/bitweaver/wiki/index.php?page=Sun+Solaris+%2F+Blastwave.org [^]
(0002735)
comand   
2005-12-15 16:34   
Perl binary extensions must be built with the same compiler as perl itself was
built with. Blastwave policy is to build with the Sun compiler collection, so
extensions too must be built with Sun cc. If you would like to see a specific
binary module released as a Blastwave package, please raise a specific bug against
the \'perl\' package, and I\'ll do my best to release it for you.