FAQ
hi guys

I refered to http://www.catalystframework.org/calendar/2007/8 to
install local::lib into my dreamhost account.

I downloaded the tar file for local-lib and extracted it to a place in
my home dir.
In changed into the directory that local-lib contents lived in.
I ran "perl Makefile.PL --bootstrap PREFIX=/home/kakimoto" -- went OK
I ran "make test" -- went OK
I ran "make install" and this is the error I got:


[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]$

HELPPPP!!

Search Discussions

  • Hans Dieter Pearcey at Jun 23, 2009 at 3:39 am

    On Tue, Jun 23, 2009 at 01:33:01PM +1000, kakimoto@tpg.com.au wrote:
    I ran "perl Makefile.PL --bootstrap PREFIX=/home/kakimoto" -- went OK
    Nothing in the documentation for local::lib OR the calendar entry you linked to
    says to use a PREFIX= parameter here.

    hdp.
  • K. Akimoto at Jun 23, 2009 at 3:45 am
    Yes, I actually tried doing it without PREFIX but it still didn;t work.
    Then I thought that since I installed perl modules into my home
    directory, maybe that's using the PREFIX would do the trick.


    <hdp.perl.catalyst.users@weftsoar.net>
    On Tue, Jun 23, 2009 at 01:33:01PM +1000, kakimoto@tpg.com.au wrote:
    I ran "perl Makefile.PL --bootstrap PREFIX=/home/kakimoto" -- went OK
    Nothing in the documentation for local::lib OR the calendar entry you
    linked to
    says to use a PREFIX= parameter here.
  • Hans Dieter Pearcey at Jun 23, 2009 at 4:04 am

    On Tue, Jun 23, 2009 at 01:45:09PM +1000, kakimoto@tpg.com.au wrote:
    Yes, I actually tried doing it without PREFIX but it still didn;t work.
    Then I thought that since I installed perl modules into my home
    directory, maybe that's using the PREFIX would do the trick.
    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:

    "I tried the directions, and that didn't work with this error [log here], so
    I tried again with PREFIX=whatever, and that didn't work either, with (the
    same error / this error [log here] )"

    It's not clear yet whether you've given us the error you received when you
    first tried it (without PREFIX).

    Even better would be a full log of your shell session when you try to install
    local::lib, in case there are details that you don't know are relevant.

    hdp.
  • K. Akimoto at Jun 23, 2009 at 6:17 am

    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]$
  • Tomas Doran at Jun 23, 2009 at 7:33 am
    On 23 Jun 2009, at 07:17, kakimoto@tpg.com.au wrote:
    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
    Huh? Your shell prompt doesn't make it clear what module this Build
    is for.
    ....

    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
    Huh? What is installing CPAN here? This is nowhere near a full log..
    ^C^C
    [apocalypse]$
    [apocalypse]$
    [apocalypse]$
    [apocalypse]$ pwd
    /home/anexiole/manual_installs/local-lib-1.001000
    [apocalypse]$
    [apocalypse]$ perl Makefile.PL --bootstrap
    Where is the output from Makefile.PL - is there really none?

    From this point on in the log shows you doing something completely
    different, then coming back to run make install.

    Can you rm -rf your ~/perl5, and give us a full untrimmed log of
    bootstrapping local::lib _only_, as documented with the _FULL
    OUTPUT_, and without random other stuff.

    Cheers
    t0m

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090623/9aacaf51/attachment.htm
  • Hans Dieter Pearcey at Jun 23, 2009 at 10:08 am

    /home/anexiole/manual_installs/local-lib-1.001000
    [apocalypse]$
    [apocalypse]$ perl Makefile.PL --bootstrap
    [apocalypse]$ setscreen
    -bash: setscreen: command not found
    [apocalypse]$ screen
    Right here a bunch of information is missing; there's no output from
    --bootstrap, and then suddenly it picks up in the middle of what looks like a
    Module::Build install failure:
    # '/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.
    This might be the real problem here, but I can't tell, and it's just as likely
    that some failure started a while ago and is cascading to this point.

    hdp.
  • Arjuna Del Toso at Jun 23, 2009 at 11:55 am

    On Tue, 23 Jun 2009 13:33:01 +1000 kakimoto@tpg.com.au wrote:

    hi guys

    I refered to http://www.catalystframework.org/calendar/2007/8 to
    install local::lib into my dreamhost account.

    I downloaded the tar file for local-lib and extracted it to a place in
    my home dir.
    In changed into the directory that local-lib contents lived in.
    I ran "perl Makefile.PL --bootstrap PREFIX=/home/kakimoto" -- went OK
    I ran "make test" -- went OK
    I ran "make install" and this is the error I got:


    [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]$

    HELPPPP!!
    If you just need Catalyst on Dreamhost I managed to install it
    following these instructions
    http://wiki.dreamhost.com/Catalyst
    have a nice day,
    arjuna

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site:
    http://dev.catalyst.perl.org/
  • K. Akimoto at Jun 24, 2009 at 8:51 am
    this looks good. I will give it a go soon.

    Thank you!
    If you just need Catalyst on Dreamhost I managed to install it
    following these instructions
    http://wiki.dreamhost.com/Catalyst
    have a nice day,
    arjuna
  • Gerda Shank at Jun 23, 2009 at 1:36 pm

    kakimoto@tpg.com.au wrote:
    hi guys

    I refered to http://www.catalystframework.org/calendar/2007/8 to
    install local::lib into my dreamhost account.

    I downloaded the tar file for local-lib and extracted it to a place in
    my home dir.
    In changed into the directory that local-lib contents lived in.
    I ran "perl Makefile.PL --bootstrap PREFIX=/home/kakimoto" -- went OK
    I ran "make test" -- went OK
    I ran "make install" and this is the error I got:


    [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]$
    I recently installed local::lib on Dreamhost and had a lot of problem,
    many - but not all - of which were caused by the fact that they kept
    killing my CPAN install processes. I saved at least a partial log, and
    this is probably what caused his problem:

    -----------------------------
    [lakers]$ perl Makefile.PL --bootstrap
    Attempting to create directory /home/gshank/perl5
    Attempting to create file /home/gshank/perl5/.modulebuildrc
    ExtUtils::MakeMaker version 6.31 required--this is only version 6.30_01.
    BEGIN failed--compilation aborted.
    CPAN version 1.8 required--this is only version 1.7602.
    BEGIN failed--compilation aborted.
    Prototype mismatch: sub ExtUtils::MakeMaker::prompt ($;$) vs none at -e
    line 9.

    /home/gshank/.cpan/CPAN/MyConfig.pm initialized.
    --------------------------------

    After which it tried to use CPAN to install ExtUtils::MakeMaker. Which
    didn't work, of course.

    I downloaded and installed it myself by hand in the perl5/lib/perl5
    directory I think. As I recall, I also had to do that with
    Module::Build. Then eventually it got half installed and I and updated
    my .bashrc myself and then... evenutally I got it all working. I had
    weird problems with CPAN too. I had to end up installing a lot of the
    modules myself.

    Gerda Shank

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJun 23, '09 at 3:33a
activeJun 24, '09 at 8:51a
posts10
users5
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase