Subject: | Install issues on Mac OS X |
Date: | Sun, 27 Mar 2016 10:59:31 +0000 |
To: | "bug-Finance-Quote [...] rt.cpan.org" <bug-Finance-Quote [...] rt.cpan.org> |
From: | Deva - <signup.deva [...] outlook.com> |
Hello,
I installed a local version of perl v5.22.1 through perlbrew and used cpanm to install further modules - DBI and DBD::mysql as a local standard user (no admin privileges and not a root; sudo was not used to install either).
These 2 modules installed successfully.
However, when I tried to install Finance::Quote v1.38, it fails due to dependencies on other modules.
(So I tried installing earlier versions (v1.36 and v1.2), but they too fail due to some dependency or other).
My OS version is Mac OS X El Capitan v10.11.2.
An extract from the build log leading up to the error is replicated below.
Show quoted text
>>> Start build.log extract
Checking if you have Net::SSLeay 1.46 ... No
==> Found dependencies: Net::SSLeay
Searching Net::SSLeay (1.46) on cpanmetadb ...
--> Working on Net::SSLeay
Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.72.tar.gz
-> OK
Unpacking Net-SSLeay-1.72.tar.gz
Entering Net-SSLeay-1.72
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04_01)
Configuring Net-SSLeay-1.72
Running Makefile.PL
*** Found OpenSSL-0.9.8z installed in /usr
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
and Net::SSLeay. Mixing and matching compilers is not supported.
Do you want to run external tests?
These tests *will* *fail* if you do not have network connectivity. [n] n
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::SSLeay
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01)
Checking if you have Test::More 0.60_01 ... Yes (1.001014)
Checking if you have MIME::Base64 0 ... Yes (3.15)
Building and testing Net-SSLeay-1.72
cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
directory blib/lib/auto/Net/SSLeay:
do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
Running Mkbootstrap for Net::SSLeay ()
chmod 644 "SSLeay.bs"
"/Users/deva/perl5/perlbrew/perls/perl-5.22.1/bin/perl" "-Iinc" "/Users/deva/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/ExtUtils/xsubpp" -typemap "/Users/deva/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/ExtUtils/typemap" -typemap "typemap" SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -O3 -DVERSION=\"1.72\" -DXS_VERSION=\"1.72\" "-I/Users/deva/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/darwin-2level/CORE" SSLeay.c
SSLeay.xs:163:10: fatal error: 'openssl/err.h' file not found
#include <openssl/err.h>
^
1 error generated.
make: *** [SSLeay.o] Error 1
-> FAIL Installing Net::SSLeay failed. See /Users/deva/.cpanm/work/1459062790.54702/build.log for details. Retry with --force to force install it.
-> FAIL Installing the dependencies failed: Module 'Net::SSLeay' is not installed
-> FAIL Bailing out the installation for IO-Socket-SSL-2.024.
-> FAIL Installing the dependencies failed: Module 'IO::Socket::SSL' is not installed
-> FAIL Bailing out the installation for LWP-Protocol-https-6.06.
-> FAIL Installing the dependencies failed: Module 'LWP::Protocol::https' is not installed
-> FAIL Bailing out the installation for Finance-Quote-1.38.
<<< End build.log extract
I looked for the file openssl/err.h running a find command from root (/) and this file doesn’t exist anywhere in the system, not even in the default perl installation that came with OS X.
Can you please help? I need this module to work because I am using Gnucash to track my investments and this is an essential component.
Cheers,
Deva
Message body is not shown because it is too large.