Comments (15)
Ah, this issue is caused by older perls(Perl 5.9.5+ has IPC::Cmd as core library).
I bundled latest IPC::Cmd to fix this issue. And I'll send a pull-req to homebrew.
For now, please try brew install --head plenv
.
from plenv.
Now it needs HTTP::Tiny
Can't locate HTTP/Tiny.pm in @inc (@inc contains: /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/lib/perl5 /Library/Perl/Updates/5.8.8/darwin-thread-multi-2level /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/lib/perl5/Perl/Build.pm line 14.
from plenv.
Okay, the issue was fixed too. Sorry I forgot to add HTTP::Tiny to share/plenv, since it's in core 5.14.
from plenv.
please try brew install --head plenv
from plenv.
Now its Params::Check
Can't locate Params/Check.pm in @inc (@inc contains: /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /Library/Perl/Updates/5.8.8/darwin-thread-multi-2level /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 48.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 48.
from plenv.
Hi. I added test case to find missing modules under the perl 5.8.
I guess, current HEAD may work!
from plenv.
The issue was fixed in 1.4.2
from plenv.
Not yet, still need version 0.870
plenv install perl-5.10.1 rvm:ruby-1.9.2-p0
Creating /var/folders/az/azc7iGwYH0SthirIT36L8++++TI/-Tmp-/perl-build-20130213-0946493017(building directory)
Install 5.10.1 to /Users/sid/.plenv/versions/5.10.1
Fetching 5.10.1 as /var/folders/az/azc7iGwYH0SthirIT36L8++++TI/-Tmp-/JAkuIeRwtR/perl-5.10.1.tar.bz2
Downloaded http://search.cpan.org/CPAN/authors/id/D/DA/DAPM/perl-5.10.1.tar.bz2 to /var/folders/az/azc7iGwYH0SthirIT36L8++++TI/-Tmp-/JAkuIeRwtR/perl-5.10.1.tar.bz2.
rm -f config.sh Policy.sh
/usr/bin/perl -Mlib=/usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl
version version 0.870 (v0.870.0) required--this is only version 0.700 (v0.700.0) at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Metadata.pm line 20.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Metadata.pm line 20.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 14.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 14.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl line 12.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl line 12.
Installation failure: /usr/bin/perl -Mlib=/usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/lib/perl5/Perl/Build.pm line 208.
One question though, Why it need perl to install perl ?
from plenv.
Some unmaintained perls (including 5.10 you're trying to install) need patches to build on a modern build environment, and you need patchperl command to do it. It's silly that patchperl requires that many dependencies, I completely agree.
I'll ask the author of patchperl if it's possible to drop some of the deps that brings these chain of deps, and then build a fatpack executable (like cpanm) that doesn't require separate libraries to run.
from plenv.
On Wed, 13 Feb 2013, Tatsuhiko Miyagawa wrote:
Some unmaintained perls (including 5.10 you're trying to install) need
patches to build on a modern build environment, and you need patchperl
command to do it. It's silly that patchperl requires that many
dependencies, I completely agree.I'll ask the author of patchperl if it's possible to drop some of the deps
that brings these chain of deps, and then build a fatpack executable (like
cpanm) that doesn't require separate libraries to run.
That would be great, however i truly believe its also time to ditch
these old perls and move on. I would rather try plenv on a newer perls.
Really appreciate your help.
Reply to this email directly or view it on GitHub.
from plenv.
That would be great, however i truly believe its also time to ditch
these old perls and move on. I would rather try plenv on a newer perls.
Yes, but the point is that plenv is (also) a tool to start building a new perl on old perl exactly like yours.
You're basically having the bootstrap problem since if you have perl 5.10 to begin with none of these issues should come up with it. Even the 5.10 is not maintained anymore by the perl 5 porters, since they switched to the yearly major release.
I'm sure tokuhirom will add other required deps until you can bootstrap with 5.8 in the meantime, but if you can upgrade your OS to 10.6 it should be much easier since Snow Leopard has perl 5.10 in /usr/bin.
from plenv.
Issue was fixed by #11.
from plenv.
Thanks a lot.
On Thu, 21 Feb 2013, Tokuhiro Matsuno wrote:
Issue was fixed by #11.
Reply to this email directly or view it on GitHub.
from plenv.
PatchPerl 0.84 stripped all of IPC::Cmd and its sub deps.
https://metacpan.org/source/BINGOS/Devel-PatchPerl-0.84/Changes
from plenv.
Released jew version to deoend it.
2013/03/10 9:26 "Tatsuhiko Miyagawa" [email protected]:
PatchPerl 0.84 stripped all of IPC::Cmd and its sub deps.
https://metacpan.org/source/BINGOS/Devel-PatchPerl-0.84/Changes—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-14673649
.
from plenv.
Related Issues (20)
- "man perl" shows system Perl manual under local Perl dir (.perl-version) HOT 3
- homebrew plenv v2.3.0 is claiming it is 2.2.0 HOT 1
- Homebrew shows incorrect plenv versioning HOT 1
- no backend configured for scheme https HOT 7
- Plenv to control additional Perl lib paths (PERL5LIB env var?) HOT 7
- Complain about active local::lib in ~/perl5
- plenv install fails with "newer" Perls HOT 3
- failure when attempting to install any Perl version on macOS Big Sur HOT 8
- Separate GitHub Organization for plenv
- Use plenv-rehash to install the hooks from plugins
- How to use with wayland? HOT 2
- Respect .perl-version through symlinks?
- No problem to install-cpanm, but failed to find cpanm command HOT 6
- Thank you - seems to work in ksh93 HOT 1
- plenv should update MANPATH so that man pages installed in a plenv-managed Perl are found HOT 5
- install-cpanm Fails: ERROR: Cannot find the tarball for perl-cpanm HOT 2
- mxcl. in link
- plenv: no such command `shell'
- To support environments except bash/zsh( such as csh)
- `plenv migrate-modules` may break List::Util(and cpanm)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plenv.