[GNC] Problem install Finance::Quote
john
jralls at ceridwen.us
Sun Feb 18 14:14:35 EST 2024
I just ran cpan -i Finance::Quote on my M1 MBP, macOS 14.4 beta. It looks like 14.4 bumps perl to 5.34 so it did a complete install of Finance::Quote's dependencies. Everything worked and /Library/Perl/5.34/LWP/Protocol doesn' include https.pm; http.pm provides https functionality.
I think you might have gotten your Homebrew and Apple perls cross-threaded. Unless you've followed the bone-headed instructions in https://docs.brew.sh/FAQ#my-mac-apps-dont-find-homebrew-utilities application bundles can't see Homebrew programs and under no circumstances can they see Homebrew libraries.
If you did do the launchctl hack undo it. Then try creating a new admin user; that user will have a Homebrew-free clean environment in which you can safely use cpan, though you may need to first uninstall all of the cpan packages that you've installed with Homebrew present in your environment.
Regards,
John Ralls
> On Feb 16, 2024, at 02:34, Gustavo Taouil <gtaouil at gmail.com> wrote:
>
> Hi Guys, I tried to install Finance::Quote in my new mac (M3) with Sonoma macOs. I Use these lines of command to install:
>
> sudo env ARCHFLAGS='-arch arm64 -arch arm64e -arch x86_64'cpan -f -i Test2
> sudo env ARCHFLAGS='-arch arm64 -arch arm64e -arch x86_64'cpan -f -i Finance::Quote
> sudo env ARCHFLAGS='-arch arm64 -arch arm64e -arch x86_64'cpan -f -i JSON::Parse
>
> Now, I was receiving theses kind of messages when I tried to update quotes:
>
>
> * B3:IVVB11.SA Finance::Quote reported failure with error: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
>
>
> I already force the install of LWP::Protocol::https and I installed the opensll with the command: brew install openssl, but it’s not working.
>
> My perl is installed in /usr/bin/perl and my version is 5.30.3
>
> anyone can help me?
>
>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list