Giter VIP home page Giter VIP logo

Comments (3)

haarg avatar haarg commented on September 18, 2024

This currently breaks Try::Tiny installation on perl 5.8 (and 5.6).

from cpanpm.

 avatar commented on September 18, 2024

There appear to be a number of places to attempt this. Currently, trying to make "perl" throws an error there rather than during prereq resolution.

I just spot checked and it's trivial to strip 'perl' from optional dependencies. But it may not be trivial to deal with an optional dependency on a module version that shipped only with later perl.

from cpanpm.

 avatar commented on September 18, 2024

Here's another way to patch it (without stripping, so we see the recommendation in the output) and the result: http://gist.github.com/fd63b65c44bb085f8897

cpan[1]> install Try::Tiny
[…snip…]
Configuring D/DO/DOY/Try-Tiny-0.22.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Try::Tiny
Writing MYMETA.yml and MYMETA.json
  DOY/Try-Tiny-0.22.tar.gz
  /Users/david/perl5/perlbrew/perls/8.9/bin/perl Makefile.PL -- OK
Running make for D/DO/DOY/Try-Tiny-0.22.tar.gz
DOY/Try-Tiny-0.22.tar.gz recommends perl '5.010'; you have only 5.008009; ignoring and continuing
cp lib/Try/Tiny.pm blib/lib/Try/Tiny.pm
Manifying blib/man3/Try::Tiny.3
  DOY/Try-Tiny-0.22.tar.gz
  /usr/bin/make -- OK
Running make test
[…snip…]
Running make install
[…snip…]
  /usr/bin/make install  -- OK

from cpanpm.

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.