in reply to Re: Problem installing Perl modules
in thread Problem installing Perl modules

Yaah on executing the above command using double verbose I am getting lot of stuff being printed.

. . . Checking /opt/ActivePerl-5.8/bin/perl Executing /opt/ActivePerl-5.8/bin/perl Result: '' . . Checking /opt/ActivePerl-5.8/bin/perl Executing /opt/ActivePerl-5.8/bin/perl Result: '' Checking /usr/sbin/perl Checking /usr/bin/perl Executing /usr/bin/perl Result: '' . . .
permission of the actual binary are

ls -l /opt/ActivePerl-5.8/bin/perl lrwxrwxrwx 1 root other 11 Jul 25 00:18 /opt/ActivePerl-5.8/bin +/perl -> perl-static
Sushil Kumar

Replies are listed 'Best First'.
Re^3: Problem installing Perl modules
by Corion (Patriarch) on Aug 02, 2007 at 13:40 UTC

    So, let us play that same game once again.

    What do the following commands output?

    /usr/bin/perl -v /opt/ActivePerl-5.8/bin/perl -v /opt/ActivePerl-5.8/bin/perl-static -v

    Also, what groups do these programs all belong to?

    ls -l /usr/bin/perl /opt/ActivePerl-5.8/bin/perl /opt/ActivePerl-5.8/b +in/perl-static

    From the output you get, it seems neither /usr/bin/perl nor /opt/ActivePerl-5.8/bin/perl nor /opt/ActivePerl-5.8/bin/perl-static are executable for the user you're running things as. Talk to your sysadmin to fix these things.

Re^3: Problem installing Perl modules
by almut (Canon) on Aug 02, 2007 at 13:42 UTC
    ls -l /opt/ActivePerl-5.8/bin/perl lrwxrwxrwx 1 root other 11 Jul 25 00:18 /opt/ActivePerl-5.8/bin +/perl -> perl-static

    That's still a symlink...  It's probably easier to use option -L, which dereferences across any levels of links...

    Also, what happens, if you try calling /opt/ActivePerl-5.8/bin/perl -v and /opt/ActivePerl-5.8/bin/perl -e'require 5.008.8' manually? Apparently, that's failing from within ExtUtils::MakeMaker (or more precisely, ExtUtils::MM_Unix)...