Re: Can't Install Perl as Non-Root
- From: dawmail333 <Dawmail333@xxxxxxxxx>
- Date: Wed, 23 Jan 2008 19:22:20 -0800 (PST)
On Jan 24, 12:46 pm, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
Quoth dawmail333 <Dawmail...@xxxxxxxxx>:
On Jan 24, 1:41 am, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
Quoth dawmail333 <Dawmail...@xxxxxxxxx>:
On Jan 19, 5:12 pm, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
File::Find is trying to work out its cwd, which means it needs to be
able to readdir all the directories down from /. Do you not have read
permission on /home?
<snip>
I tried 5.10, and this is my new error.
<snip>
I suspect you may not be able to fix this, as MakeMaker needs to know
its cwd, even after perl is installed. Can you find it at all? What do
you get if you run, from the build directory,
/bin/pwd
./miniperl -Ilib -MCwd -le'print Cwd::getcwd'
./miniperl -Ilib -MCwd -le'print Cwd::cwd'
If one of those works, you may be able to patch MakeMaker to use it.
This line works:
./miniperl -Ilib -MCwd -le'print Cwd::cwd'
So how do I patch Dynaloader?
Apply this patch with patch -p0 <cwd.patch from in the perl source
directory. Check after you have installed perl that you can still
install XS modules sucessfully, and make sure you don't upgrade
File::Spec (if you do, you'll need to patch it again) :). Could you let
me know if this works? If it does I'll suggest it to the File::Spec
maintainer.
Ben
--- lib/File/Spec/Unix.pm Tue Dec 18 10:47:07 2007
+++ lib/File/Spec/Unix.pm.cwd Thu Jan 24 02:38:09 2008
@@ -475,7 +475,7 @@
# File::Spec subclasses use this.
sub _cwd {
require Cwd;
- Cwd::getcwd();
+ Cwd::cwd();
}
Sorry, I'm not a terribly knowledgeable person about Linux. Could you
please give me easy, step by step commands to follow? I can access a
terminal and all that, but I have never installed Perl before, and
don't understand what you are saying.
.
- Follow-Ups:
- Re: Can't Install Perl as Non-Root
- From: Ben Morrow
- Re: Can't Install Perl as Non-Root
- References:
- Can't Install Perl as Non-Root
- From: dawmail333
- Re: Can't Install Perl as Non-Root
- From: dawmail333
- Re: Can't Install Perl as Non-Root
- From: Ben Morrow
- Re: Can't Install Perl as Non-Root
- From: dawmail333
- Re: Can't Install Perl as Non-Root
- From: Ben Morrow
- Can't Install Perl as Non-Root
- Prev by Date: Re: Can't Install Perl as Non-Root
- Next by Date: Re: Can't Install Perl as Non-Root
- Previous by thread: Re: Can't Install Perl as Non-Root
- Next by thread: Re: Can't Install Perl as Non-Root
- Index(es):
Relevant Pages
|