Subject: | System perl used in build process |
On some of my smoker systems the build fails:
...
chmod 755 blib/arch/auto/SPVM/SPVM.so
perl build_shared_lib.pl --object_dir=. SPVM::CORE
Can't locate ExtUtils/CBuilder.pm in @INC (@INC contains: /home/cpansand/.cpan/build/2018021606/SPVM-0.0310-0/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/cpansand/.cpan/build/2018021606/SPVM-0.0310-0/lib/SPVM/Build.pm line 7.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018021606/SPVM-0.0310-0/lib/SPVM/Build.pm line 7.
Compilation failed in require at build_shared_lib.pl line 11.
BEGIN failed--compilation aborted at build_shared_lib.pl line 11.
make: *** [blib/arch/auto/SPVM/CORE.native/CORE.so] Error 2
...
@INC looks like the system perl is used here, not the perl used for building the distribution (which is not in user's $PATH on my system).