Subject: | build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0 |
I'm getting build errors when attempting to build this package. I'm not
sure why CPAN Testers isn't having the same problem, but here's the
important bits from when I run cpan:
Running make for P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.048)
Checksum for
/home/dj/.cpan/sources/authors/id/P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz
ok
CPAN: File::Temp loaded ok (v0.22)
Couldn't move
/home/dj/.cpan/build/tmp-8209/Math-Subsets-List-1.004/MANIFEST to
/home/dj/.cpan/build/Math-Subsets-List-1.004-38LG6w/MANIFEST: Permission
denied at
/home/dj/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/CPAN/Distribution.pm line
524.
The problem seems to be that the execute bit is not set on any of the
directories in the tarball:
dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/
dr--r--r-- philip r brenan/None 0 2009-03-21 18:13
Math-Subsets-List-1.004/t/
dr--r--r-- philip r brenan/None 0 2009-03-21 18:13
Math-Subsets-List-1.004/lib/
dr--r--r-- philip r brenan/None 0 2009-03-21 18:13
Math-Subsets-List-1.004/lib/Math/
dr--r--r-- philip r brenan/None 0 2009-03-21 18:13
Math-Subsets-List-1.004/lib/Math/Subsets/
I was able to install it via cpan after performing the following changes:
find Math-Subsets-List-1.004 -type d -exec chmod +x \{} \;
chmod -R +w Math-Subsets-List-1.004/
Thanks,
Diab