OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002892 [pm_tt2] other feature always 2008-05-18 07:58 2009-02-21 23:36
Reporter merlin View Status public  
Assigned To bonivart
Priority normal Resolution not fixable  
Status closed  
Summary 0002892: 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 default INSTALLDIRS=site
this go to /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl and /usr/bin

- If module is a Perl core module CPAN use also INSTALLDIRS=core
this go to /opt/csw/lib/perl/5.8.8 /opt/csw/share/perl/5.8.8 and /opt/csw/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
---


I work on a workaround

- Installing_in_the_same_location_as_ExtUtils::MakeMaker
http://search.cpan.org/~kwilliams/Module-Build-0.2808/lib/Module/Build/Cookbook.pm#Installing_in_the_same_location_as_ExtUtils::MakeMaker [^]

- For modules that use Module::Build
perl Build.PL --installdirs=site --install_path bin=/opt/csw/bin --install_path script=/opt/csw/bin
./Build.PL
./Build.PL install
---

- For modules that use ExtUtils::MakeMaker
perl Makefile.PL INSTALLDIRS=site INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin
make
make test
make install
---
Additional Information Is this realy a Workaround?

ERROR and Solution on CPAN \'install Bundle::CPAN\'
-------------------------------------------------

1. Make a logfile from CPAN \'install Bundle::CPAN\'
2. Search for all ERRORs in a seperat File
3. Go to the /srv/install/.cpan/build/MODULE Directory
4. Find out which Module type ls -al
    - Module::Build Modules have a Build and Build.PL file
        see http://search.cpan.org/dist/Module-Build/ [^]
            http://search.cpan.org/~kwilliams/Module-Build-0.2808/lib/Module/Build/Cookbook.pm [^]
    - ExtUtils::MakeMaker Modules have a Makefile and Makefile.PL file
        see http://search.cpan.org/~mschwern/ExtUtils-MakeMaker/ [^]
5. Solution vor Module::Build Modules:
    ./Build install --install_path bin=/opt/csw/bin --install_path script=/opt/csw/bin
6. Solution vor ExtUtils::MakeMaker Modules:
    make install INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin

*********************
*** Module::Build ***
*********************

- running Build.PL
Checking prerequisites...
 * Optional prerequisite Module::Signature is not installed
 * Optional prerequisite ExtUtils::ParseXS is not installed
 * Optional prerequisite version is not installed
 * Optional prerequisite Archive::Tar is not installed
 * Optional prerequisite Pod::Readme is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation

Checking features:
  manpage_support....enabled
  YAML_support.......disabled
    - YAML is not installed
  C_support..........enabled
    * Optional prerequisite ExtUtils::ParseXS is not installed
  HTML_support.......enabled

- Solution
Not realy a Error
prerequisites: optional you can install this modules
  
- Running make install
All tests successful.
Files=26, Tests=772, 74 wallclock secs ( 0.62 usr 0.29 sys + 34.42 cusr 22.10 csys = 57.43 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
Skipping /opt/csw/share/man/man1/config_data.1 (unchanged)
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/PodParser.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Authoring.pod
Installing /opt/csw/share/perl/site_perl/Module/Build/Notes.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/ConfigData.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Version.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/ModuleInfo.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/YAML.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Cookbook.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/PPMMaker.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/Compat.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/MPEiX.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/MacOS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/VMS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/darwin.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/aix.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/Windows.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/Unix.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/RiscOS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/os2.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/VOS.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/Default.pm
Installing /opt/csw/share/perl/site_perl/Module/Build/Platform/cygwin.pm
Installing /opt/csw/share/man/man3/Module::Build::Platform::cygwin.3perl
Installing /opt/csw/share/man/man3/Module::Build::API.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::VMS.3perl
Installing /opt/csw/share/man/man3/Module::Build::Authoring.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Unix.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::VOS.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Amiga.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::darwin.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::MacOS.3perl
Installing /opt/csw/share/man/man3/Module::Build::Cookbook.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::EBCDIC.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::aix.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::MPEiX.3perl
Installing /opt/csw/share/man/man3/Module::Build::ModuleInfo.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Windows.3perl
Installing /opt/csw/share/man/man3/Module::Build::PPMMaker.3perl
Installing /opt/csw/share/man/man3/Module::Build::ConfigData.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::os2.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::Default.3perl
Installing /opt/csw/share/man/man3/Module::Build.3perl
Installing /opt/csw/share/man/man3/Module::Build::Notes.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::Compat.3perl
Installing /opt/csw/share/man/man3/Module::Build::Platform::RiscOS.3perl
Installing /usr/bin/config_data
*** Error code 30
make: Fatal error: Command failed for target `install\'
  /usr/ccs/bin/make install -- NOT OK


  
- Solution
# cd /srv/install/.cpan/build/Module-Build-0.2808
# ls -al
-rwxr-xr-x 1 root root 1374 May 18 10:39 Build
-r--r--r-- 1 501 501 2348 Apr 28 2007 Build.PL

Module is build white Module::Build

# ./Build install --install_path bin=/opt/csw/bin --install_path script=/opt/csw/bin

Skipping /opt/csw/share/man/man1/config_data.1 (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Config.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/PodParser.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Authoring.pod (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Notes.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/ConfigData.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Version.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/ModuleInfo.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/YAML.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Cookbook.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/PPMMaker.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/API.pod (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Base.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Compat.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/MPEiX.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/MacOS.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/VMS.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/darwin.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/aix.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/Amiga.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/EBCDIC.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/Windows.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/Unix.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/RiscOS.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/os2.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/VOS.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/Default.pm (unchanged)
Skipping /opt/csw/share/perl/site_perl/Module/Build/Platform/cygwin.pm (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::cygwin.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::API.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::VMS.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Authoring.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::Unix.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::VOS.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::Amiga.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::darwin.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::MacOS.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Cookbook.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::EBCDIC.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::aix.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::MPEiX.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::ModuleInfo.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::Windows.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::PPMMaker.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::ConfigData.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::os2.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::Default.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Notes.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::YAML.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Base.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Compat.3perl (unchanged)
Skipping /opt/csw/share/man/man3/Module::Build::Platform::RiscOS.3perl (unchanged)
Installing /opt/csw/bin/config_data
Writing /opt/csw/lib/perl/site_perl/auto/Module/Build/.packlist


Now Installing /opt/csw/bin/config_data is OK
---


*******************
*** Digest::SHA ***
*******************

- 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/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

# cd /srv/install/.cpan/build/Digest-SHA-5.47
# ls -al
-rw-r--r-- 1 root root 26862 May 18 10:42 Makefile
-rw-r--r-- 1 1000 1000 981 Apr 30 10:43 Makefile.PL

Module is build white ExtUtils::MakeMaker

# make install INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /opt/csw/bin/shasum
Writing /opt/csw/lib/perl/site_perl/auto/Digest/SHA/.packlist
Appending installation info to /opt/csw/lib/perl/5.8.8/perllocal.pod
---

Now Installing /opt/csw/bin/shasum is OK

********************
*** Archive::Tar ***
********************

- Running make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy \'blib/script/ptardiff\' to \'/usr/bin/ptardiff\': Read-only file system
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
Installing /opt/csw/share/perl/site_perl/Archive/Tar.pm
Installing /opt/csw/share/perl/site_perl/Archive/Tar/File.pm
Installing /opt/csw/share/perl/site_perl/Archive/Tar/Constant.pm
Installing /opt/csw/share/man/man1/ptar.1
Installing /opt/csw/share/man/man3/Archive::Tar.3perl
Installing /opt/csw/share/man/man3/Archive::Tar::File.3perl
Installing /usr/bin/ptardiff
*** 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/Archive/Tar/.packlist \\
        write /opt/csw/lib/perl/site_perl/auto/Archive/Tar/.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

- Solution
# cd /srv/install/.cpan/build/Archive-Tar-1.38
# ls -al
-rw-r--r-- 1 root root 24897 May 18 10:45 Makefile
-rw-r--r-- 1 root webservd 1927 Mar 6 2007 Makefile.PL

Module is build white ExtUtils::MakeMaker

# make install INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin
Installing /opt/csw/bin/ptardiff
Installing /opt/csw/bin/ptar
Writing /opt/csw/lib/perl/site_perl/auto/Archive/Tar/.packlist
Appending installation info to /opt/csw/lib/perl/5.8.8/perllocal.pod
---

Now Installing /opt/csw/bin//opt/csw/bin/ptardiff is OK
NEW not see in ERRORS Installing /opt/csw/bin/ptar is OK

********************
*** Archive::Zip ***
********************

Running make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy \'blib/script/crc32\' to \'/usr/bin/crc32\': Read-only file system
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
Installing /opt/csw/share/perl/site_perl/Archive/Zip.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/StringMember.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/Tree.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/ZipFileMember.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/Archive.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/NewFileMember.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/Member.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/MockFileHandle.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/FAQ.pod
Installing /opt/csw/share/perl/site_perl/Archive/Zip/MemberRead.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/BufferedFileHandle.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/FileMember.pm
Installing /opt/csw/share/perl/site_perl/Archive/Zip/DirectoryMember.pm
Installing /opt/csw/share/man/man3/Archive::Zip::MemberRead.3perl
Installing /opt/csw/share/man/man3/Archive::Zip::FAQ.3perl
Installing /opt/csw/share/man/man3/Archive::Zip.3perl
Installing /opt/csw/share/man/man3/Archive::Zip::Tree.3perl
Installing /usr/bin/crc32
*** 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/Archive/Zip/.packlist \\
        write /opt/csw/lib/perl/site_perl/auto/Archive/Zip/.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

- Solution

# cd /srv/install/.cpan/build/Archive-Zip-1.23

# ls -al
-rw-r--r-- 1 1001 1001 1120 Nov 7 2007 MANIFEST
-rw-r--r-- 1 1001 1001 892 Nov 7 2007 META.yml

Module is build white ExtUtils::MakeMaker

# make install INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin
Installing /opt/csw/bin/crc32
Writing /opt/csw/lib/perl/site_perl/auto/Archive/Zip/.packlist
Appending installation info to /opt/csw/lib/perl/5.8.8/perllocal.pod
---

Now Installing /opt/csw/bin/crc32 is OK

************
*** YAML ***
************

- Running make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy \'blib/script/ysh\' to \'/usr/bin/ysh\': Read-only file system
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
Installing /opt/csw/share/perl/site_perl/YAML.pm
Installing /opt/csw/share/perl/site_perl/Test/YAML.pm
Installing /opt/csw/share/perl/site_perl/YAML/Tag.pm
Installing /opt/csw/share/perl/site_perl/YAML/Node.pm
Installing /opt/csw/share/perl/site_perl/YAML/Dumper.pm
Installing /opt/csw/share/perl/site_perl/YAML/Marshall.pm
Installing /opt/csw/share/perl/site_perl/YAML/Loader.pm
Installing /opt/csw/share/perl/site_perl/YAML/Types.pm
Installing /opt/csw/share/perl/site_perl/YAML/Base.pm
Installing /opt/csw/share/perl/site_perl/YAML/Error.pm
Installing /opt/csw/share/perl/site_perl/YAML/Loader/Base.pm
Installing /opt/csw/share/perl/site_perl/YAML/Dumper/Base.pm
Installing /opt/csw/share/man/man3/YAML::Loader::Base.3perl
Installing /opt/csw/share/man/man3/YAML::Tag.3perl
Installing /opt/csw/share/man/man3/YAML::Types.3perl
Installing /opt/csw/share/man/man3/YAML::Error.3perl
Installing /opt/csw/share/man/man3/YAML::Marshall.3perl
Installing /opt/csw/share/man/man3/YAML::Dumper::Base.3perl
Installing /opt/csw/share/man/man3/YAML::Loader.3perl
Installing /opt/csw/share/man/man3/YAML::Base.3perl
Installing /opt/csw/share/man/man3/YAML.3perl
Installing /opt/csw/share/man/man3/YAML::Node.3perl
Installing /opt/csw/share/man/man3/Test::YAML.3perl
Installing /opt/csw/share/man/man3/YAML::Dumper.3perl
Installing /usr/bin/ysh
*** Error code 30
The following command caused the error:
/opt/csw/bin/perl \"-Iinc\" -MExtUtils::Install -e \'install({@ARGV}, \'\\\'\'0\'\\\'\', 0, \'\\\'\'0\'\\\'\');\' -- \\
        read /opt/csw/lib/perl/site_perl/auto/YAML/.packlist \\
        write /opt/csw/lib/perl/site_perl/auto/YAML/.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

- Solution

# cd /srv/install/.cpan/build/YAML-0.66

# ls -al
-rw-r--r-- 1 root root 24647 May 18 10:48 Makefile
-rw-r--r-- 1 501 501 450 Apr 8 2007 Makefile.PL

Module is build white ExtUtils::MakeMaker

# make install INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin
Installing /opt/csw/bin/ysh
Writing /opt/csw/lib/perl/site_perl/auto/YAML/.packlist
Appending installation info to /opt/csw/lib/perl/5.8.8/perllocal.pod
---

Now Installing /opt/csw/bin/ysh is OK

*******************
*** File::Which ***
*******************

- Running make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy \'blib/script/pwhich\' to \'/usr/bin/pwhich\': Read-only file system
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
Installing /opt/csw/share/perl/site_perl/File/Which.pm
Installing /opt/csw/share/man/man3/File::Which.3perl
Installing /usr/bin/pwhich
*** 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/File/Which/.packlist \\
        write /opt/csw/lib/perl/site_perl/auto/File/Which/.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

- Solution

# cd /srv/install/.cpan/build/File-Which-0.05

# ls -al
-rw-r--r-- 1 root root 23356 May 18 10:49 Makefile
-r--r--r-- 1 root root 442 Jun 24 2002 Makefile.PL

# make install INSTALLSITESBIN=/opt/csw/bin INSTALLSITESCRIPT=/opt/csw/bin
Installing /opt/csw/bin/pwhich
Writing /opt/csw/lib/perl/site_perl/auto/File/Which/.packlist
Appending installation info to /opt/csw/lib/perl/5.8.8/perllocal.pod
---

Now Installing /opt/csw/bin/pwhich is OK

-------------
The Happy End
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0005557)
bonivart (developer)
2009-02-21 23:36

You shouldn't mix packages with other ways of installing software. If you need a CPAN module, ask for it to be packaged or better yet, sign up and do it yourself.

However, your solution may be of interest to others so if you want to, you can add it to the wiki at wiki.opencsw.org.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker