Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 113365
Status: resolved
Worked: 12 min
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: signup.deva [...] outlook.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.

On Sun Mar 27 06:59:57 2016, signup.deva@outlook.com wrote: Show quoted text
> SSLeay.xs:163:10: fatal error: 'openssl/err.h' file not found
Hi, You are missing a file. That is because you are using system perl and openssl. Perhaps you shouldn't mess with system perl etc. Therefor, you can use homebrew ( http://brew.sh ). Install it, then: brew install openssl brew install perl You might get some question to install required dependencies which you should then do. restart your system be sure you don't use system perl by checking with which perl then install finance quote as you tried before Hope this helps ! -- Erik
Subject: Re: [rt.cpan.org #113365] Resolved: Install issues on Mac OS X
Date: Sun, 27 Mar 2016 11:17:06 +0000
To: "bug-Finance-Quote [...] rt.cpan.org" <bug-Finance-Quote [...] rt.cpan.org>
From: Deva - <signup.deva [...] outlook.com>
Hello again, I am not using system perl. As detailed in my mail, I installed a local version of perl via perlbrew and then used cpanm to install 2 modules successfully. As the extract from the log shows, the version of perl that’s being used is at - /Users/deva/perl5/perlbrew/perls/perl-5.22.1/bin/perl My system perl is in /usr/bin/perl. So, this is still an issue, right? Cheers. On 27-Mar-2016, at 4:40 PM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org<mailto:bug-Finance-Quote@rt.cpan.org>> wrote: <URL: https://rt.cpan.org/Ticket/Display.html?id=113365 > According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.
On Sun Mar 27 07:17:26 2016, signup.deva@outlook.com wrote: Show quoted text
> I am not using system perl.
OK :) Show quoted text
> So, this is still an issue, right?
not really. you miss a header file from openssl which isn't on your system. you can install it with homebrew as I mentioned in previous message. then relaunch FQ installation as you did. best -- Erik
Subject: Re: [rt.cpan.org #113365] Install issues on Mac OS X
Date: Sun, 27 Mar 2016 15:42:32 +0000
To: "bug-Finance-Quote [...] rt.cpan.org" <bug-Finance-Quote [...] rt.cpan.org>
From: Deva - <signup.deva [...] outlook.com>
Did everything you said - it’s still not installing! I went through the log and it’s not just the error I reported earlier, but other dependencies failed to install as well. There must be a better way to install this than have to go through missing packages one by one. Since the other mysql related packages installed clean, I am just sticking with those for now. For now, I am putting F:Q on the back burner until a better install script is made to seamlessly and quietly install itself. Cheers. Show quoted text
> On 27-Mar-2016, at 6:27 PM, Erik Colson via RT <bug-Finance-Quote@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=113365 > > > On Sun Mar 27 07:17:26 2016, signup.deva@outlook.com wrote:
>> I am not using system perl.
> > OK :) >
>> So, this is still an issue, right?
> > not really. > you miss a header file from openssl which isn't on your system. > you can install it with homebrew as I mentioned in previous message. > then relaunch FQ installation as you did. > > best > -- > Erik