Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^6: cpanm stuck with Plack::Handler::Twiggy

by Aldebaran (Curate)
on Apr 21, 2022 at 01:12 UTC ( [id://11143147]=note: print w/replies, xml ) Need Help??


in reply to Re^5: cpanm stuck with Plack::Handler::Twiggy
in thread CPAN 2.29 stuck with Net::SSLeahy

There is a difference between a distribution and the modules that it contains. If you look at the distribution Twiggy, you'll see it contains those modules, but if you look at the source of the modules, they don't define a $VERSION, which is allowed. Though personally I would try to give every module in a distribution the same version, when it comes to the installation, you don't need to worry about what version the individual modules of a distribution have - when defining dependencies, it's enough to define a dependency on the latest version of the module Twiggy to get all of the modules in its distribution installed.

Ok, I did take a gander through Twiggy, and realized that

requires 'Plack::Handler::Twiggy' => '0.1025';

was never gonna be satified. I altered the cpanfile to this:

#requires 'Plack::Handler::Twiggy' => '0.1025'; ## this module ^^ is sliced up differently requires 'AnyEvent::AIO' => '1.1'; requires 'Async::Interrupt' => '1.24'; requires 'Cookie::Baker::XS' => '0.09'; requires 'Device::Firmata' => '0.65'; requires 'Device::SerialPort' => '1.04'; requires 'Device::WebIO' => '0.022'; requires 'Device::WebIO::Dancer' => '0.004'; requires 'Device::WebIO::Firmata' => '0.002'; requires 'Device::WebIO::RaspberryPi' => '0.900'; requires 'DBD::SQLite' => '1.58'; requires 'DBI' => '1.641'; requires 'Guard' => '1.023'; requires 'GPS::NMEA' => '0.17'; requires 'Math::Round' => '0.07'; requires 'RPi::WiringPi' => '2.3628'; requires 'RPi::Pin' => '2.3606'; requires 'Plack::Handler::Twiggy' => 'undef'; requires 'Starman' => '0.4014'; requires 'Time::HiRes' => '1.9758'; requires 'Twiggy' => '0.1025'; requires 'WWW::Form::UrlEncoded::XS' => '0.25';

, and got it the checks to pass:

$ cpanm --verbose --installdeps . ... Checking if you have Plack::Handler::Twiggy 0 ... Yes (undef) ... Checking if you have Twiggy 0.1025 ... Yes (0.1026) ... $

What's more, I looked ahead in stevieb's guide for source I might use, and I didn't see the module included in stuff that I was going to use anytime soon. I was super-pleased to have his guide to orient me through installing the camera:

The one downside of the CSI-2 connector is that it’s attached with a ribbon cable, which can be a bit flimsy. The connector sits by the HDMI port on most Pis. This shouldn’t be confused with the DSI (Display Serial Interface) connector, which sits near the SD card. ... Power off your Pi, and then insert the cable. You’ll see a small strip of tape along one edge of the ribbon cable. On most Pi’s, this will face the edge with the Ethernet and USB ports.

I was almost despondent when I saw that ribbon. Getting that in the right place the right way the first time was faith-promoting.

$ raspistill -o 1.test_pic.jpg $ ls 1.test_pic.jpg

A clear and sharp photo results, flimsy ribbon notwithstanding....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143147]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found