tokuhirom / Perl-Build

Other
79 stars 38 forks source link

Failed to install on Ubuntu 14.04 - Can't locate strict.pm #90

Closed knutov closed 5 years ago

knutov commented 5 years ago

copy of https://github.com/tokuhirom/plenv/issues/153

Installing latest stable with plenv:

Ubuntu 14.04 system perl v5.18.2

doing plenv install 5.28.1 and getting error about strict.pm. How to fix it?

...
/bin/ln -s perldelta.pod pod/perl5281delta.pod
./miniperl -Ilib autodoc.pl
Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /cpan/AutoLoader/lib /dist/Carp/lib /dist/PathTools /dist/PathTools/lib /cpan/ExtUtils-Install/lib /cpan/ExtUtils-MakeMaker/lib /cpan/ExtUtils-Manifest/lib /cpan/File-Path/lib /ext/re /dist/Term-ReadLine/lib /dist/Exporter/lib /ext/File-Find/lib /cpan/Text-Tabs/lib /dist/constant/lib /cpan/version/lib /lib .) at autodoc.pl line 25.
BEGIN failed--compilation aborted at autodoc.pl line 25.
make: *** [pod/perlintern.pod] Error 2
Installation failure: make at /home/user/.plenv/plugins/perl-build/bin/perl-build line 10353.
ABORT
skaji commented 5 years ago
knutov commented 5 years ago
$ plenv install --version
Use of uninitialized value $Perl::Build::VERSION in concatenation (.) or string at /home/kola/.plenv/plugins/perl-build/bin/plenv-install line 63.

I did fresh install of plenv from "Basic GitHub Checkout" from https://github.com/tokuhirom/plenv#installation

plenv install 5.28.1 | tee plenv.log plenv.log plenv install 5.28.1 2>&1 | tee plenv2.log plenv2.log

UPDATE:

$ plenv --version
plenv 2.3.0-8-g5d03b0c
skaji commented 5 years ago

@knutov Thanks for build logs. I was not able to reproduce this issue.

Can you build perl if you do not use Perl::Build?

#!/bin/bash

wget https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.28.1.tar.gz
tar xzf perl-5.28.1.tar.gz
cd perl-5.28.1
./Configure -de -Dprefix=/tmp/test
make
knutov commented 5 years ago

no, make ends with the same error.

skaji commented 5 years ago

@knutov Thanks.

no, make ends with the same error.

Then this is not an issue for perl-build nor plenv, but perl itself.

skaji commented 5 years ago

Since this is not an issue for perl-build, I close this ticket.