LameNerd has asked for the wisdom of the Perl Monks concerning the following question:

I have a LWP script that works just find under cygwin. Now I need to make it work under Solaris 8. I have installed Perl 5.8 on my Sun system. (before my sysadmin changed the password ;)) I have installed the follow perl modules: I have installed these Perl modules like so:
perl Makefile.PL PREFIX=/home/LameNerd
Praise be to to abbot cranz.
When I run my script I get this ...
bash-2.03$ ./myLittleScript -F somedumbthing Protocol scheme 'https' is not supported./myLittleScript: Failure: do_ +logon failed
And I am pretty sure I have OpenSSL installed. My sys admin doesn't like me so maybe I don't have OpenSSL installed. How could I tell?

Edit by tye, PRE-to-CODE, remove BRs

Replies are listed 'Best First'.
Re: Protocol scheme 'https' is not supported???
by IlyaM (Parson) on Mar 11, 2003 at 23:20 UTC
    LWP probes for https support avialability by loading module LWP::Parallel::Protocol::https. If it fails LWP says that scheme 'https' is not supported (and normally it fails if you don't have SSL support modules installed). So try to load it manually and find from error message what exactly is missing:
    perl -MLWP::Parallel::Protocol::https -e1

    --
    Ilya Martynov, ilya@iponweb.net
    CTO IPonWEB (UK) Ltd
    Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
    Personal website - http://martynov.org

Re: Protocol scheme 'https' is not supported??? (debug)
by tye (Sage) on Mar 11, 2003 at 23:14 UTC

    I'd figure out who is complaining via

    $ perl -MCarp=verbose myLittleScript -F somedumpthing
    so you can see why they don't support https:// (read that module's documentation and/or source code). My guess is that they are looking for Net::SSL.

                    - tye
      Thanks Saint tye
      bash-2.03$ perl -MCarp=verbose myLittleScript -F somedumpthing can't access https://www.nottherealthing.com/theThing Can't connect to www.nottherealthing.com:443 (Bad hostname 'www.notthe +realthing.com') myLittleScript: Failure: do_logon failed
      I am beginning to suspect that not only is my Sys Admin mean to me
      I am beginning to think she doesn't know how to set up the firewall!
      The PC that my script works from is not behind a my "Sys Admin's" firewall.
      It is behind a firewall, just not one set up by my sys admin.
      The Unix system where my script does not work is behind my "Sys Admin's" firewall.
      I just need to make sure that I all the Perl stuff installed correctly before
      I accuse my Sys Admin's firewall set up. Office politics and all.
Re: Protocol scheme 'https' is not supported???
by data64 (Chaplain) on Mar 11, 2003 at 22:37 UTC

    "perldoc perllocal" will give you a listing of all the modules you have installed.

    To see if OpenSSL is working properly, the easiest way might be to run the test suite that ships with the module.


    Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd

Re: Protocol scheme 'https' is not supported???
by LameNerd (Hermit) on Mar 11, 2003 at 23:05 UTC
    Update I do have OpenSSL installed. Here's how I am determining this:
    bash-2.03$ pwd /usr/local/ssl/bin bash-2.03$ ./openssl version OpenSSL 0.9.7a Feb 19 2003
Re: Protocol scheme 'https' is not supported???
by Aristotle (Chancellor) on Mar 15, 2003 at 12:33 UTC
    What does perl -V say about @INC? Is it actually looking for modules in the directories in your home?

    Makeshifts last the longest.