in reply to LWP::Simple not installing on MAC OS Mojava

Hi JD,

How are you installing the distribution?

Note that you shouldn't install or change anything with your built-in Perl installation.

I'm not familiar with Mac, but many folks here are who can provide guidance. I'd recommend waiting for them to respond (ahem, Nick, red phone is ringing...) before trying anything else and possibly rendering your computer useless.

In Unix land, we use Perlbrew, on Windows, berrybrew to separate our system Perl installations from our userland ones. I'm not confident in advising whether Perlbrew should be used on your OS or not, so since you've taken a couple of hours already, I'd wait to see what our MacOS Monks say.

  • Comment on Re: LWP::Simple not installing on MAC OS Mojava

Replies are listed 'Best First'.
Re^2: LWP::Simple not installing on MAC OS Mojava
by JD (Novice) on Mar 05, 2019 at 01:08 UTC

    Hi stevieb,

    Thank you for your advice, I had been using perlbrew in BASH but have recently changed to ZSH and it took me a while to realise I needed to change the $PATH to access perlbrew.

    I have installed perlbrew and CPANM and tried again to install LWP::Simple. However, an error till occurs, even when I force the installation and in the .cpanm/work/........./build.log I get the same error:

    t/00-report-prereqs.t .......... ok t/10-attrs.t ................... ok # Some tests for the PUT method can only be run on # HTTP::Request version 6.07 or higher. # If your version isn't good enough, we'll skip those. # Your version is 6.18 and that's good enough t/base/default_content_type.t .. ok t/base/protocols.t ............. ok # Failed test '404 on fake nntp url' # at t/base/protocols/nntp.t line 12. # got: '500' # expected: '404' # Looks like you failed 1 test of 1. t/base/protocols/nntp.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/base/proxy.t ................. ok t/base/simple.t ................ ok t/base/ua.t .................... ok t/base/ua_handlers.t ........... ok t/leak/no_leak.t ............... ok t/local/autoload-get.t ......... ok t/local/autoload.t ............. ok

      I get the same error:

      So why dont you install the module already?

      A failing test does not prevent installation

        Sorry, I am new to perl and modules in particular. Could you advise how to install around the test failures? Currently I am using perlbrew and CPANM there another way you reccomend?