-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install perl #10
Comments
Ah, this issue is caused by older perls(Perl 5.9.5+ has IPC::Cmd as core library). For now, please try |
Now it needs |
Okay, the issue was fixed too. Sorry I forgot to add HTTP::Tiny to share/plenv, since it's in core 5.14. |
please try brew install --head plenv |
Now its Params::Check |
Hi. I added test case to find missing modules under the perl 5.8. |
The issue was fixed in 1.4.2 |
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 ? |
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. |
On Wed, 13 Feb 2013, Tatsuhiko Miyagawa wrote:
|
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. |
Issue was fixed by #11. |
Thanks a lot. On Thu, 21 Feb 2013, Tokuhiro Matsuno wrote:
|
PatchPerl 0.84 stripped all of IPC::Cmd and its sub deps. |
Released jew version to deoend it.
|
I am on Mac OSX 10.5.8 and installed
plenv
using brew. However, the install is throwing error for any version of perl i try to install. Below is the one for perl-5.10.1Any idea why it's happening and how to fix it ?
The text was updated successfully, but these errors were encountered: