Comments (3)
This currently breaks Try::Tiny installation on perl 5.8 (and 5.6).
from cpanpm.
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.
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)
- Configure with only fresh mirrors HOT 5
- Failure to configure cpan: getaddrinfo(ucu.ac.ug,,AF_INET) failed - No address associated with hostname HOT 1
- first time setup on cygwin with strawberry also installed picks up wrong patch executable, leading to an endless loop
- Some questions about the proxy settings for cpan and cpanm.
- Add environment variable to customize .cpan path HOT 3
- Relative dir for local::lib doesn't work
- Not able to create local::lib with non-root user in docker container : fileparse(): need a valid pathname at /usr/share/perl/5.30/CPAN/FirstTime.pm HOT 1
- Can't locate local/lib.pm in @INC : Installation of `App::cpanminus` fails on Windows 11, WSL with Ubuntu 20.04 HOT 2
- the distroprefs "Filenames" chapter documenting "File path" and "Activating the feature" was a frustrating surprise
- RT-145462: cpan -O chokes on some version numbers
- RT-145462: cpan -g exits with the wrong value
- RT-145462: cpan -g should use the same download mechanism as CPAN.pm HOT 2
- RT-145462: cpan -g does not handle paths, such as AUTHOR/Foo-1.0.tar.gz
- RT-145462: cpan -O version columns are too narrow to show full versions
- RT-145462: HTTP status code check in cpan is too inclusive
- RT-145462: cpan(1) log message uses the wrong key HOT 1
- [feature] Shell completion HOT 4
- Current key unsupported in FIPS mode
- fix INSTALLDIRS for newer PERL versions HOT 2
- Add support for static install
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 cpanpm.