Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Installing module LWP::Protocol::https on Solaris Sparc v10

by runrig (Abbot)
on Jan 30, 2014 at 19:24 UTC ( [id://1072717]=note: print w/replies, xml ) Need Help??


in reply to Installing module LWP::Protocol::https on Solaris Sparc v10

See Now you need LWP::Protocol::https. One thing you can do is to set env variable PERL_LWP_SSL_VERIFY_HOSTNAMES to 0. Are you going through a proxy? It might be messing with the cert.
  • Comment on Re: Installing module LWP::Protocol::https on Solaris Sparc v10

Replies are listed 'Best First'.
Re^2: Installing module LWP::Protocol::https on Solaris Sparc v10
by rudds_perl_habit (Novice) on Jan 30, 2014 at 21:26 UTC

    I tried setting that variable before running the test, but it didn't make a difference. I can run the test in the perl debugger

    perl -d t/apache.t

    and in stepping through the tests, when it returns from simple_request routine, it has this as the return value:

    DB<19> x $res 0 HTTP::Response=HASH(0xcebce8) '_content' => 'LWP will support https URLs if the LWP::Protocol::ht +tps module is installed. ' '_headers' => HTTP::Headers=HASH(0xcf4e40) '::std_case' => HASH(0xcebc58) 'client-date' => 'Client-Date' 'client-warning' => 'Client-Warning' 'client-date' => 'Thu, 30 Jan 2014 20:57:35 GMT' 'client-warning' => 'Internal response' 'content-type' => 'text/plain' '_msg' => 'Protocol scheme \'https\' is not supported (LWP::Protoco +l::https not installed)' '_rc' => 501 '_request' => HTTP::Request=HASH(0xa1e5f8) '_content' => '' '_headers' => HTTP::Headers=HASH(0x8e6d18) 'user-agent' => 'libwww-perl/6.05' '_method' => 'GET' '_uri' => URI::https=SCALAR(0x8f8230) -> 'https://www.apache.org'

    Which seems really strange to me. the _msg string says that https is not supported because LWP::Protocol::https is not installed. But that is the module I am trying to build/test/install!

      You need to add the blib directories to the path. Run:
      prove --debug --blib t/apache.t

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-23 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found