OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001308 [pm_tt2] regular use minor always 2005-11-17 09:31 2005-12-15 16:34
Reporter ssinyagin View Status public  
Assigned To comand
Priority normal Resolution won't fix Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0001308: CPAN options for GCC
Description 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.
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0002646)
ssinyagin (reporter)
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 (reporter)
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.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker