[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnupod] error with Perl 5.005
From: |
David |
Subject: |
[Bug-gnupod] error with Perl 5.005 |
Date: |
Fri, 12 Dec 2003 22:33:46 +0100 |
User-agent: |
Mutt/1.5.5.1i |
Hi,
I would like to report a problem with old version of Perl (5.005) during
make install.
Here is the errorlog:
http://211.43.211.135/errorlogs/i386-4-latest/gnupod-0.92.log
Indeed, in Perl 5.005, mkdir need to specify the Mask.
Perl 5.005: http://www.perldoc.com/perl5.005_03/pod/func/mkdir.html
Perl 5.6.1: http://www.perldoc.com/perl5.6.1/pod/func/mkdir.html
The patch to correct this:
--- tools/gnupod_install.pl.old Sun Oct 5 12:10:32 2003
+++ tools/gnupod_install.pl Fri Dec 12 21:38:37 2003
@@ -70,8 +70,7 @@
my($basedir, $modi, $perlbin) = @_;
die "Strange Perl installation, no address@hidden Can't install
Perl-Module(s), killing myself..\n" if !$INC[0];
-mkdir("$INC[0]/$modi");
-chmod 0755, "$INC[0]/$modi";
+mkdir("$INC[0]/$modi", 0755);
print "Installing Modules at $INC[0]/$modi\n";
foreach my $file (glob("$basedir/*.pm")) {
pgp7KOnrQwKwT.pgp
Description: PGP signature
- [Bug-gnupod] error with Perl 5.005,
David <=