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

I just compiled/installed 5.10.1 as a relocatable install. Everything works fine except when I try to run pod2usage with verbose=2 (ie. the full pod, not just usage), I get this error:

INTERNAL ERROR >> Can't exec ".../perldoc": No such file or directory at /my/path/5.10.1/lib/5.10.1/Pod/Usage.pm line 572.

In relocatable perl ".../" is supposed to be replaced by the value of $^X. perldoc is there so that's not the problem.

Anyone seen this? Thanks, P

Replies are listed 'Best First'.
Re: perldoc in relocatable perl
by vkon (Curate) on Apr 15, 2011 at 13:25 UTC
    if you will sent all the same message to perl developers (perl5-porters@perl.org) it will be soooo much more useful.
    even better to create bug report, but this is not strictly necessary, however desirable.

      Thanks. I want to make sure it IS a bug and not my own stupid mistake

        this does not look like a stupid mistake at all.
        (unless I am mistaken :) )