[Catalyst] can't seem to install local::lib in dreamhost

kakimoto at tpg.com.au kakimoto at tpg.com.au
Tue Jun 23 06:17:54 GMT 2009



> If all you tell us about is that you did it wrong, you're just going
> to be told
> to do it right.  You can avoid this by actually telling us everything
> you did
> in your first email:
> 


the same error came up denying me access to run "make install".

Here's how my installation looked like.
 Thanks for helping:)

- ExtUtils::MakeMaker ...missing. (would need 6.31)
- ExtUtils::CBuilder  ...loaded. (0.18)
- ExtUtils::ParseXS   ...loaded. (2.15)
- ex      ...missing. (would need 0.28)
- CPAN                ...missing. (would need 1.80)



[apocalypse]$ ./Build install --install_base  /home/anexiole/projects/lib

....

CPAN-1.94/distroprefs/MSERGEANT.AxKit.yml
CPAN-1.94/distroprefs/AUDREYT.Module-Signature.yml
[snip]
CPAN-1.94/distroprefs/RRWO.Graphics-ColorNames.yml
CPAN-1.94/distroprefs/JSHIRLEY.Catalyst-Action-REST.yml
CPAN-1.94/distroprefs/KNORR.Net-MirrorDir.yml
^CN-1.94/t/12cpan.t
Uncompressed
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar.gz
successfully
Using Tar:/bin/tar xvf
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar:
^CCouldn't untar
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar

^C^C
[apocalypse]$
[apocalypse]$
[apocalypse]$
[apocalypse]$ pwd
/home/anexiole/manual_installs/local-lib-1.001000
[apocalypse]$
[apocalypse]$ perl Makefile.PL --bootstrap
[apocalypse]$ setscreen
-bash: setscreen: command not found
[apocalypse]$ screen
#                   '/usr/bin/perl -Mblib -MSimple -we print
Simple::version()
# '
#     doesn't match '(?-xism:0.01$)'
Can't load '/tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so' for
module Simple: /tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so:
failed to map segment from shared object: Operation not permitted at
/usr/lib/perl/5.8/DynaLoader.pm line 225.
 at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
t/xs..................NOK 7
#   Failed test in t/xs.t at line 62.
#                   '/usr/bin/perl -Mblib -MSimple -we print
Simple::xs_version()
# '
#     doesn't match '(?-xism:0.01$)'
t/xs..................ok 10/23Can't load
'/tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so' for module
Simple: /tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so: failed
to map segment from shared object: Operation not permitted at
/usr/lib/perl/5.8/DynaLoader.pm line 225.
 at t/basic.t line 4
Compilation failed in require at t/basic.t line 4.
BEGIN failed--compilation aborted at t/basic.t line 4.
# Looks like your test died before it could output anything.
t/xs..................NOK 11
#   Failed test in t/xs.t at line 83.
#          got: 'Failed 1/1 test scripts, 0.00% okay. 2/2 subtests
failed, 0.00% okay.
# '
#     expected: ''
Can't load
'/tmp/MB-Nr3bn2Ct/Simple-With-Deep-Name/blib/arch/auto/Simple/With/Deep/Name/Name.so'
for module Simple::With::Deep::Name:
/tmp/MB-Nr3bn2Ct/Simple-With-Deep-Name/blib/arch/auto/Simple/With/Deep/Name/Name.so:
failed to map segment from shared object: Operation not permitted at
/usr/lib/perl/5.8/DynaLoader.pm line 225.
 at t/basic.t line 4
Compilation failed in require at t/basic.t line 4.
BEGIN failed--compilation aborted at t/basic.t line 4.
# Looks like your test died before it could output anything.
Format STDOUT_TOP redefined at (eval 105) line 1.
Format STDOUT redefined at (eval 106) line 1.
Failed 1/1 test scripts, 0.00% okay. 2/2 subtests failed, 0.00% okay.
# Looks like you planned 23 tests but only ran 17.
# Looks like you failed 5 tests of 17 run.
# Looks like your test died just after 17.
t/xs..................dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-7, 11, 18-23
        Failed 11/23 tests, 52.17% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/compat.t     1   256   131    1   0.76%  113
t/xs.t       255 65280    23   17  73.91%  4-7 11 18-23
3 tests and 12 subtests skipped.
Failed 2/30 test scripts, 93.33% okay. 12/1022 subtests failed, 98.83% okay.
  EWILHELM/Module-Build-0.33.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports EWILHELM/Module-Build-0.33.tar.gz
Running Build install
  make test had returned bad status, won't install without force
*** Module::Build installation failed.
*** Module::AutoInstall installation finished.
Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::MakeMaker 6.31 not found. We have 6.3001.
Warning: prerequisite Module::Build 0.28 not found. We have 0.26.
'INSTALL_BASE' is not a known MakeMaker parameter name.
Writing Makefile for local::lib



mak



[apocalypse]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/classmethod.t
t/pipeline.t
t/classmethod.t .. 1/? Name "File::Spec::rel2abs" used only once:
possible typo at t/classmethod.t line 20.
Attempting to create directory t/var/splat
Attempting to create file t/var/splat/.modulebuildrc
t/classmethod.t .. ok
t/pipeline.t ..... ok
All tests successful.
Files=2, Tests=6,  1 wallclock secs ( 0.01 usr  0.02 sys +  0.04 cusr 
0.03 csys =  0.10 CPU)
Result: PASS
[apocalypse]$



[apocalypse]$ make install
mkdir /usr/local/lib/perl: Permission denied at
/usr/share/perl/5.8/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 13
[apocalypse]$








More information about the Catalyst mailing list