-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Labels
Description
I'm running the following script on Ubuntu 18.04 / WSLv1 / case-sensitive mount point. It produces the following error:
chmod 755 ../../lib/auto/Devel/PPPort/PPPort.so
"../../miniperl" "-I../../lib" "-I../../lib" mktests.PL t/01_test.t
t/01_test.t: Permission denied
generating t/01_test.t
Makefile:550: recipe for target 't/01_test.t' failed
make[1]: *** [t/01_test.t] Error 13
make[1]: Leaving directory '/home/vadimkantorov/wipbiber/perl/dist/Devel-PPPort'
make[1]: Entering directory '/home/vadimkantorov/wipbiber/perl/dist/Devel-PPPort'
/home/vadimkantorov/wipbiber/perl/dist/Devel-PPPort/../../miniperl "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- PPPort.bs ../../lib/auto/Devel/PPPort/PPPort.bs 644
"../../miniperl" "-I../../lib" "-I../../lib" mktests.PL t/01_test.t
t/01_test.t: Permission denied
generating t/01_test.t
Makefile:550: recipe for target 't/01_test.t' failed
make[1]: *** [t/01_test.t] Error 13
make[1]: Leaving directory '/home/vadimkantorov/wipbiber/perl/dist/Devel-PPPort'
Unsuccessful make(dist/Devel-PPPort): code=512 at make_ext.pl line 588.
makefile:576: recipe for target 'lib/auto/Devel/PPPort/PPPort.so' failed
make: *** [lib/auto/Devel/PPPort/PPPort.so] Error 25
PERL=https://www.cpan.org/src/5.0/perl-5.32.0.tar.gz
EXTR=perl
PREFIX=$PWD/perlprefix
mkdir -p $PREFIX
wget -nc $PERL
mkdir -p perl_
tar -xf $(basename $PERL) --strip-components=1 --directory=perl_
rm -rf $EXTR
cp -r perl_ $EXTR
pushd $EXTR
bash +x ./Configure -sde -Dprefix=$PREFIX
make
#make install
popdFull log: log.zip
P.S. Can one also configure perl / modules build to skip tests?
Thank you!