I am on Windows platform but most likely one of two issues likely on the Perl front as it seems to be universal across platform:
Since you forced installed LWP::Protocol::https module, it skipped install of one or more under lying dependent modules so it is broken at its heart even though physically it is present. IMHO, if Perl is configured correctly then there is hardly need to force install modules other than in extremely few rare cases. This also means your CPAN module for Perl is not likely to be configured correctly to retrieve dependent modules and install them as necessary. -- OR -- Your GNC install is looking at Perl that is entirely located in a different location and it isn't finding all the required modules there. Former is likely to issue. Also may I ask how you came to conclusion that installing OpenSSL via brew package manager will be sufficient on Mac to get F::Q up and running? You may want to review documentation at https://finance-quote.sourceforge.net/index.html to become familiar. While commands you listed might work, I like to use following (not sure how they will behave on your system at this point though) after Perl CPAN module is properly configured: sudo env ARCHFLAGS='-arch arm64 -arch arm64e -arch x86_64' perl -MCPAN -e 'install Test2' sudo env ARCHFLAGS='-arch arm64 -arch arm64e -arch x86_64' perl -MCPAN -e 'install Finance::Quote' sudo env ARCHFLAGS='-arch arm64 -arch arm64e -arch x86_64' perl -MCPAN -e 'install JSON::Parse' If things are broken in the process of install then fix them; don't skip them! As for Perl's CPAN module, normally if the CPAN's 'prerequisites_policy' setting (configured with 'follow' option), 'build_requires_install_policy' setting (with 'yes') and 'make' settings (with fully qualified path to a make that is found by search or compatible one) are properly set then that should have installed all pre-requisite dependencies automatically. These are the sane defaults that gets configures with when CPAN module is initialized. In case there is interest for the CPAN module configuration settings, refer to https://metacpan.org/pod/CPAN#Config-Variables link. Perl sadly does not have a way to uninstall a module on its own. The unofficial way to do is to delete (safer to rename!?!?) the module's Perl files and then attempt to install it again. - Run 'sudo find . -name Quote | xargs ls -al | grep Finance' to find the location where it is installed. - Rename 'Finance' directory under .../lib/perl5/... subtree (with perhaps .bak extension). - Rerun the installer as mentioned above using modified commands. With the current state of it, YMMV though. -----Original Message----- From: Gustavo Taouil <gtao...@gmail.com> Sent: Friday, February 16, 2024 5:34 AM To: gnucash-user@gnucash.org Subject: [GNC] Problem install Finance::Quote 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@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.