MacLing has asked for the wisdom of the Perl Monks concerning the following question:

Hi SoPW team,

i have installed several perl module, after that i got error message like this below.

# perl -MCPAN -e shell

Attempt to free unreferenced scalar: SV 0x7995080 at /usr/local/lib/perl5/5.8.8/CPAN.pm line 13. Segmentation fault

How should i do ?

Please give me advice.

BR,

MacLing

  • Comment on perl -MCPAN -e shell ==> Segmentation fault

Replies are listed 'Best First'.
Re: perl -MCPAN -e shell ==> Segmentation fault (Cwd/PathTools)
by Anonymous Monk on Jun 13, 2013 at 02:35 UTC

    How should i do ?
    Find out what version of Cwd.pm is trying to get loaded,
    Report the bug to your vendor so they install a working Cwd.pm , say one from PathTools
    Install a working Cwd from PathTools yourself
    Install a new perl in your homedir (or usr/local whatever), a version from this decade that is supported by perl5porters

        # perl Makefile.PL

        Attempt to free unreferenced scalar: SV 0x12f1ba60 at /usr/local/lib/perl5/5.8.8/File/Path.pm line 6.

        Checking if your kit is complete...

        Segmentation fault