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
|