[bug-notifications] [perl 0004547]: CSWperl 5.10.1, REV=2010.08.11 incompatible with Sun Studio 11

Mantis Bug Tracker noreply at opencsw.org
Mon Sep 13 12:01:58 CEST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4547 
====================================================================== 
Reported By:                ssinyagin
Assigned To:                dam
====================================================================== 
Project:                    perl
Issue ID:                   4547
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2010-09-09 11:06 CEST
Last Modified:              2010-09-13 12:01 CEST
====================================================================== 
Summary:                    CSWperl 5.10.1,REV=2010.08.11 incompatible with Sun
Studio 11
Description: 
Sun Studio 11 is the last Studio release that is tar archive with solaris
packages. Studio 12 is a huge bourne shell archive, making it tricky to
install on remote systems. In Studio 11, I could simply extract the 3
packages and skip the rest of a half-gig distribution.

A simple program:
#include <perl.h>
int main() {}

now it fails when compiling by
 /opt/SUNWspro/bin/cc -I/opt/csw/lib/perl/5.10.1/CORE xx.c

The compiler reports syntax errors and undefined __attribute__ in
/opt/csw/lib/perl/5.10.1/CORE/perl.h

Also perl -V reports incompatible C flag (-m32).

It will be great to still be able to use Studio 11 with CSWperl.






====================================================================== 

---------------------------------------------------------------------- 
 (0008285) ssinyagin (reporter) - 2010-09-13 12:01
 https://www.opencsw.org/mantis/view.php?id=4547#c8285 
---------------------------------------------------------------------- 
Here's my writeup:

1. Download Sun Studio 12 (not 12.1 or 12.2) Package Installer from
http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/ss12-136026.html

2. run the following:
mkdir SunStudio12ml
cd SunStudio12ml
bunzip2 -dc ../SunStudio12ml-solaris-sparc-200709-pkg.tar.bz2 | tar xvf -
cd install-sparc-S2/packages-sparc-S2
pkgadd -d . SPROdwrfb SPROlang SPROcc

3. Alternatively, you can run
tar cvf ~/studio12_SPROdwrfb_SPROlang_SPROcc.tar SPROdwrfb SPROlang
SPROcc
and copy the TAR archive to your Sun server, then install the packages



More information about the bug-notifications mailing list