Subject: | install problem (interaction with File::Path) for 0.86 and 0. 87 on Ubuntu/Debian |
Show quoted text
> I'd like to report difficulty installing PAR 0.86 and 0.87
> (and the svn archive as of this moment) on an Ubuntu/Debian
> system. PAR 0.85 installs fine.
The problem is that File::Path got patched in the latest
Ubuntu/Debian packages for Perl. It now require's Cwd
which it didn't do before. But deep down in par.pl, File::Path
is require'd while
local $INC{'Cwd.pm'} = __FILE__;
is in effect. I.e. par.pl pretends Cwd is loaded while it really isn't.
This causes `Bareword "getcwd" not allowed while "strict subs" in use'
since getcwd is not declared anywhere.
Comment out all (4) occurences of the above line in par.pl,
this hasn't shown any negative effects for me so far.
I dunno why this hack is there in the first place (and why
it's disabled on Windows)?
Cheers, Roderich
source : http://permalink.gmane.org/gmane.comp.lang.perl.par/1401
I have been bitten by this one too.
Roderich suggestion helped, but it's not enough : the same error then appears elsewhere.
I gave up and felt back on 0.85.
Ubuntu version : 5.04 (Hoary)
Perl version : 5.8.4-6ubuntu1
--
Vince