Re: Can't Install Perl as Non-Root
- From: dawmail333 <Dawmail333@xxxxxxxxx>
- Date: Thu, 24 Jan 2008 18:06:39 -0800 (PST)
On Jan 24, 10:39 pm, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
Quoth dawmail333 <Dawmail...@xxxxxxxxx>:
On Jan 24, 2:45 pm, dawmail333 <Dawmail...@xxxxxxxxx> wrote:
On Jan 24, 2:22 pm, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
--- lib/File/Spec/Unix.pm Thu Jan 24 04:18:08 2008
+++ lib/File/Spec/Unix.pm.cwd Thu Jan 24 04:19:40 2008
@@ -475,7 +475,7 @@
# File::Spec subclasses use this.
sub _cwd {
require Cwd;
- Cwd::getcwd();
+ Cwd::cwd();
}
That patch didn't work, so I manually changed the line in question.
It applied when it left here (I checked), so your newsreader made a mess
of it somehow.
<snip>
Sorry, I fixed this problem as well. I have hit another one:
make[1]: Leaving directory `/home/.bazooka/dawliam/perl-5.10.0/ext/
Digest/SHA'
Making Encode (dynamic)
opendir(../../lib/../../../..): Permission denied at ../../lib/
ExtUtils/MakeMake
r.pm line 182
OK, this is getting silly... one more try, then I'm giving up :).
Ben
--- lib/Cwd.pm Tue Dec 18 10:47:07 2007
+++ lib/Cwd.pm.cwd Thu Jan 24 12:33:29 2008
@@ -501,6 +501,11 @@
sub _perl_abs_path
{
my $start = @_ ? shift : '.';
+
+ # this just returns a path down from /, without attempting to
+ # resolve .. or symlinks. It *may* be sufficient to build perl.
+ return $start =~ m!^/! ? $start : cwd() . '/' . $start;
+
my($dotdots, $cwd, @pst, @cst, $dir, @tst);
unless (@cst = stat( $start ))
It worked! I installed perl! Now, the trick is, what configuration
do I need to install modules? There is another version of perl which
I can't install modules to, so can you tell me what configuration I
need?
.
- References:
- 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: FAQ 9.5 How do I extract URLs?
- Next by Date: Re: sorting a list of objects using one of their methods? RESOLVED
- Previous by thread: Re: Can't Install Perl as Non-Root
- Next by thread: FAQ 8.1 How do I find out which operating system I'm running under?
- Index(es):