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

I'm trying to build a local copy of perl in /home/moseley. This is on linux (debian potato). /home/moseley is a symlink to a nfs mounted directory:

/home/moseley -> .nfs1/moseley
where .nfs1 is a nfs mount, of course. Here's the basic problem:
[moseley]:~ $pwd /home/moseley [moseley]:~ $ls .. ls: ..: Permission denied [moseley]:~ $ls /home | head 1 2 3 [moseley]:~/build/perl-5.8.0 $perl -MFindBin -le 'print $FindBin::Bin' opendir(./../../..): Permission denied at /usr/lib/perl5/5.005/FindBin +.pm line 97
Perl uses FindBin during the build and install process. Perl 5.6.1 fails make test in lib/findbin and lib/findfile and make install fails. Perl 5.8.0 fails even Configure.

The ISP is not very responsive, so is there any way to get perl to build and install locally?

Replies are listed 'Best First'.
Re: Installation: Perl failing to install on NFS mount
by bluto (Curate) on Aug 01, 2002 at 23:15 UTC
    Other than get a new ISP? :-(

    It looks like FindBin (or Cwd) is trying to climb up your current path, presumably to build an absolute path to your current directory. This is unfortunate since it looks like you only have execute access to the .nfs directory, you need read access as well. It looks like the opendir is failing when it hits that directory. Note that this is not really an NFS problem. It exists if you do something like...

    % mkdir -p a/b/c % chmod 111 a/b % cd a/b/c % <run your one-liner here>

    If you could get your paranoid ISP to give you read/execute all the way up to '/', that might work. Other than that I don't know enough about the perl install to tell you what to try.

    Even if you get this to work, if they ever change the mount point (and symlink), you are probably sunk.

    bluto