[bug-notifications] [perl 0002890]: Solaris 10 no global zone CPAN Module installation

Mantis Bug Tracker noreply at opencsw.org
Mon Mar 23 10:37:44 CET 2009


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=2890 
====================================================================== 
Reported By:                merlin
Assigned To:                
====================================================================== 
Project:                    perl
Issue ID:                   2890
Category:                   other
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-05-17 11:33 CEST
Last Modified:              2009-03-23 10:37 CET
====================================================================== 
Summary:                    Solaris 10 no global zone CPAN Module installation
Description: 
I have, on my Solaris 10 x86, a no global zone (cswzone) and use CPAN (or
manuell install) to add additional Perl Modules. CPAN Modules will use
/usr/bin vor binary and scrits. But this is in the no global zone not
writable.
This is only in the no global zone a problem.
In the global Zone root have write access to /usr/bin, but is not the best
way.

- CSW Package (pm_*) go to INSTALLDIRS=vendor
correct to /opt/csw/lib/perl/csw /opt/csw/share/perl/csw and /opt/csw/bin

- CPAN use INSTALLDIRS=site_perl
this go to /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl and
/usr/bin

perl -V:install.*
installarchlib=\'/opt/csw/lib/perl/5.8.8\';
installbin=\'/opt/csw/bin\';
installhtml1dir=\'\';
installhtml3dir=\'\';
installman1dir=\'/opt/csw/share/man/man1\';
installman3dir=\'/opt/csw/share/man/man3\';
installprefix=\'/opt/csw\';
installprefixexp=\'/opt/csw\';
installprivlib=\'/opt/csw/share/perl/5.8.8\';
installscript=\'/opt/csw/bin\';
installsitearch=\'/opt/csw/lib/perl/site_perl\';
installsitebin=\'/usr/bin\';
installsitehtml1dir=\'\';
installsitehtml3dir=\'\';
installsitelib=\'/opt/csw/share/perl/site_perl\';
installsiteman1dir=\'/opt/csw/share/man/man1\';
installsiteman3dir=\'/opt/csw/share/man/man3\';
installsitescript=\'/usr/bin\';
installstyle=\'lib/perl5\';
installusrbinperl=\'undef\';
installvendorarch=\'/opt/csw/lib/perl/csw\';
installvendorbin=\'/opt/csw/bin\';
installvendorhtml1dir=\'\';
installvendorhtml3dir=\'\';
installvendorlib=\'/opt/csw/share/perl/csw\';
installvendorman1dir=\'/opt/csw/share/man/man1\';
installvendorman3dir=\'/opt/csw/share/man/man3\';
installvendorscript=\'/opt/csw/bin\';

For example:
-----------
cpan> install Bundle::CPAN

- Module:Build
All tests successful.
Files=26, Tests=772, 89 wallclock secs ( 0.77 usr  0.35 sys + 42.25 cusr
28.97 csys = 72.34 CPU)
Result: PASS
  /usr/ccs/bin/make test -- OK
Running make install
/opt/csw/bin/perl Build --makefile_env_macros 1 install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy \'blib/script/config_data\' to
\'/usr/bin/config_data\': Read-only file system
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at lib/Module/Build/Base.pm line 2788
Installing /opt/csw/share/man/man1/config_data.1
Installing /opt/csw/share/perl/site_perl/Module/Build.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Config.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Notes.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/YAML.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/ModuleInfo.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Cookbook.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/PodParser.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/API.pod
Installing /opt/csw/share/perl/site_perl/Module/Build/Base.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/PPMMaker.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Version.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Compat.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Authoring.pod
Installing /opt/csw/share/perl/site_perl/Module/Build/ConfigData.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/VMS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/Windows.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/aix.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/Unix.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/darwin.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/Default.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/Amiga.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/EBCDIC.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/RiscOS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/VOS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/MacOS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/os2.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/cygwin.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/MPEiX.pm
Installing /opt/csw/share/man/man3/Module::Build::Platform::Default.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Windows.3perl
Installing /opt/csw/share/man/man3/Module::Build::Notes.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Amiga.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::os2.3perl
Installing /opt/csw/share/man/man3/Module::Build::ConfigData.3perl
Installing /opt/csw/share/man/man3/Module::Build::PPMMaker.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::MacOS.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::RiscOS.3perl
Installing /opt/csw/share/man/man3/Module::Build::YAML.3perl
Installing /opt/csw/share/man/man3/Module::Build::Base.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::MPEiX.3perl
Installing /opt/csw/share/man/man3/Module::Build::Compat.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Unix.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::aix.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::darwin.3perl
Installing /opt/csw/share/man/man3/Module::Build::Cookbook.3perl
Installing /opt/csw/share/man/man3/Module::Build::ModuleInfo.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::cygwin.3perl
Installing /opt/csw/share/man/man3/Module::Build.3perl
Installing /opt/csw/share/man/man3/Module::Build::Authoring.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::EBCDIC.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::VOS.3perl
Installing /opt/csw/share/man/man3/Module::Build::API.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::VMS.3perl
Installing /usr/bin/config_data
*** Error code 30
make: Fatal error: Command failed for target `install\'
  /usr/ccs/bin/make install  -- NOT OK
---

- Digest::SHA
All tests successful.
Files=21, Tests=120,  3 wallclock secs ( 0.24 usr  0.20 sys +  1.06 cusr 
0.79 csys =  2.29 CPU)
Result: PASS
  /usr/ccs/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy \'blib/script/shasum\' to \'/usr/bin/shasum\':
Read-only file system
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
Installing /opt/csw/lib/perl/site_perl/auto/Digest/SHA/SHA.bs
Installing /opt/csw/lib/perl/site_perl/auto/Digest/SHA/SHA.so
Installing /opt/csw/lib/perl/site_perl/Digest/SHA.pm
Installing /opt/csw/share/man/man1/shasum.1
Installing /opt/csw/share/man/man3/Digest::SHA.3perl
Installing /usr/bin/shasum
*** Error code 30
The following command caused the error:
/opt/csw/bin/perl -MExtUtils::Install -e \'install({@ARGV},
\'\\\'\'0\'\\\'\', 0, \'\\\'\'0\'\\\'\');\' -- \\
        read /opt/csw/lib/perl/site_perl/auto/Digest/SHA/.packlist \\
        write /opt/csw/lib/perl/site_perl/auto/Digest/SHA/.packlist \\
        blib/lib /opt/csw/share/perl/site_perl \\
        blib/arch /opt/csw/lib/perl/site_perl \\
        blib/bin /usr/bin \\
        blib/script /usr/bin \\
        blib/man1 /opt/csw/share/man/man1 \\
        blib/man3 /opt/csw/share/man/man3
make: Fatal error: Command failed for target `pure_site_install\'
  /usr/ccs/bin/make install  -- NOT OK
---

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

---------------------------------------------------------------------- 
 (0005313) merlin (reporter) - 2008-05-18 07:20
 http://www.opencsw.org/mantis/view.php?id=2890#c5313 
---------------------------------------------------------------------- 
I\'m Sorry!
This bug is a Perl and not a PHP bug!
You can close or delete this bug.
I make a new bugreport on Perl.

Best Regards
Merlin 

---------------------------------------------------------------------- 
 (0005694) bonivart (manager) - 2009-03-23 10:37
 http://www.opencsw.org/mantis/view.php?id=2890#c5694 
---------------------------------------------------------------------- 
Not sure how this popped up again, think it's an old closed one..? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-13 06:46 mwatters       Project                  php5 => perl        
2009-03-23 10:37 bonivart       Note Added: 0005694                          
2009-03-23 10:37 bonivart       Status                   new => closed       
======================================================================




More information about the bug-notifications mailing list