Giter Club home page Giter Club logo

Comments (15)

tokuhirom avatar tokuhirom commented on May 20, 2024

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.

cybersiddhu avatar cybersiddhu commented on May 20, 2024

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.

tokuhirom avatar tokuhirom commented on May 20, 2024

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.

tokuhirom avatar tokuhirom commented on May 20, 2024

please try brew install --head plenv

from plenv.

cybersiddhu avatar cybersiddhu commented on May 20, 2024

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.

tokuhirom avatar tokuhirom commented on May 20, 2024

Hi. I added test case to find missing modules under the perl 5.8.
I guess, current HEAD may work!

from plenv.

tokuhirom avatar tokuhirom commented on May 20, 2024

The issue was fixed in 1.4.2

from plenv.

cybersiddhu avatar cybersiddhu commented on May 20, 2024

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.

miyagawa avatar miyagawa commented on May 20, 2024

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.

cybersiddhu avatar cybersiddhu commented on May 20, 2024

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.

miyagawa avatar miyagawa commented on May 20, 2024

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.

tokuhirom avatar tokuhirom commented on May 20, 2024

Issue was fixed by #11.

from plenv.

cybersiddhu avatar cybersiddhu commented on May 20, 2024

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.

miyagawa avatar miyagawa commented on May 20, 2024

PatchPerl 0.84 stripped all of IPC::Cmd and its sub deps.
https://metacpan.org/source/BINGOS/Devel-PatchPerl-0.84/Changes

from plenv.

tokuhirom avatar tokuhirom commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.