I don't think I can use this module :-( Is there any other way I can get books details using ISBN? Without using this module?

Error is:

$@: Error GETing https://isbn.nu/9780134511184: Protocol scheme 'https +' is not supported (LWP::Protocol::https not installed) at ~/perl5/pe +rlbrew/perls/perl-5.28.1/lib/site_perl/5.28.1/WWW/Scraper/ISBN/ISBNnu +_Driver.pm line 59.

When I tried to install LWP::Protocol::https using cpanm, it failed

$ cpanm LWP::Protocol::https --> Working on LWP::Protocol::https Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-http +s-6.07.tar.gz ... OK Configuring LWP-Protocol-https-6.07 ... OK ==> Found dependencies: IO::Socket::SSL, Mozilla::CA --> Working on IO::Socket::SSL Fetching http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.066 +.tar.gz ... OK ==> Found dependencies: Net::SSLeay --> Working on Net::SSLeay Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.85.tar +.gz ... OK Configuring Net-SSLeay-1.85 ... OK Building and testing Net-SSLeay-1.85 ... FAIL ! Installing Net::SSLeay failed. See ~/.cpanm/work/1555361542.3618/bui +ld.log for details. Retry with --force to force install it. ! Installing the dependencies failed: Module 'Net::SSLeay' is not inst +alled ! Bailing out the installation for IO-Socket-SSL-2.066. --> Working on Mozilla::CA Fetching http://www.cpan.org/authors/id/A/AB/ABH/Mozilla-CA-20180117.t +ar.gz ... OK Configuring Mozilla-CA-20180117 ... OK Building and testing Mozilla-CA-20180117 ... OK Successfully installed Mozilla-CA-20180117 ! Installing the dependencies failed: Module 'IO::Socket::SSL' is not +installed ! Bailing out the installation for LWP-Protocol-https-6.07. 1 distribution installed
$ cpanm Net::SSLeay --> Working on Net::SSLeay Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.85.tar +.gz ... OK Configuring Net-SSLeay-1.85 ... OK Building and testing Net-SSLeay-1.85 ... FAIL ! Installing Net::SSLeay failed. See ~/.cpanm/work/1555363377.6081/bui +ld.log for details. Retry with --force to force install it. $ vi ~/.cpanm/work/1555363377.6081/build.log Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34) Configuring Net-SSLeay-1.85 Running Makefile.PL *** Found OpenSSL-1.0.2k installed in /usr *** Be sure to use the same compiler and options to compile your OpenS +SL, perl, and Net::SSLeay. Mixing and matching compilers is not supported.

I tried force installing the module LWP::Protocol::HTTPS & Net::SSLeay but it fails. The log file for installation shows error about a missing C header file:

SSLeay.xs:163:25: fatal error: openssl/err.h: No such file or director +y #include <openssl/err.h> ^ compilation terminated.

2019-04-16 Athanasius fixed over-long code line


In reply to Re: How to pull author, title using ISBN (WWW::Scraper::ISBN)? by Perl300
in thread How to pull author, title using ISBN (WWW::Scraper::ISBN)? by Perl300

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.