GNOME Bugzilla – Bug 506873
Win32: Cannot install online price retrieval with ActivePerl 5.10
Last modified: 2018-06-29 21:58:18 UTC
I have installed GNUCash on my Windows Machine and also installed Active Perl 2.2.10 (from the same location suggested by the error message) and verified that the path is also available in PATH env. variable. Still, when I run 'Install Online Price Retrieval', I get the error saying: ========================================================================== * Check Perl Did not find a usable perl. Please install ActivePerl (http://www.activestate.com/store/activeperl) and add the bin directory to your Path environment variable. An error has occured, see above. Press any key to continue . . . ==========================================================================
Should the file install-fq-mods.bat in the 'bin' directory contain perl -e "$ver=1000*sprintf(\"%%.3f\", $]); exit(int($ver/100)+$ver%1000);" instead of perl -e "$ver=1000*sprintf(\"%%.3f\", $]); exit(int($ver/100)+$ver%%1000);" In the second line, at the end, %% is used instead of %. Im not a perl programmer but thought this might help. (I also ran both the scripts from my command line and only the first one returned success with errorlevel 50, which still fails the script though)
*** Bug 507161 has been marked as a duplicate of this bug. ***
I will try to look at it. It may perfectly be that Sriharsha's patch suffices :-)
Hm. Version 2.2.10? I only know AP 5.6, 5.8 and 5.10. May you give me a link for that? I read complaints about the new Perl 5.10, so I thought you meant that one. So I made up a patch to install the dependencies of Finance-Quote for it. But as long as there is no pre-built Finance-Quote package for AP 5.10, it is not worth that much. So I ask you to ping me here, once Finance-Quote hits the according repositories. You can check that by running ppm (without parameters, use View > All Packages).
Andreas, I just checked using PPM and I get Finance-QuoteTW instead of Finance-Quote. And yes, it is Active Perl 5.10.0.1001-MSWin32-x86-283495.msi package. The 2.2.10 I was referring to was the version of GNUCash, not AP. Regards, Sriharsha.
*** Bug 514914 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > The 2.2.10 I was referring to was the version of GNUCash, not AP. I suppose you mean GnuCash 2.2.1 then? :-) [Latest is 2.2.3]
A warning about ActivePerl 5.10 has been added to install-fq-mods.bat in r16931 and is awaiting a backport to branches/2.2.
I've installed Perl 5.8 and I've run into another Error. I get "The ordinal 3212 could not be located in the dynamic link library LIBEAY32.dll." I went and commented out .dll to .dll_ on every instance of libeay32.dll on my machine other than the one in gnucash/bin and now the ordinal is 968. Just running gnc-fq-update should be fine, right?
r16931 was applied to branches/2.2 as r16988 for GnuCash 2.2.4. Please reopen this bug as soon as there are repositories with pre-built Finance-Quote modules for ActivePerl 5.10.
This module is available for ActivePerl 5.10 now. (Why did I notice that first? ;-)) A patch is on its way.
Committed as r17499 to trunk. Awaiting backport to branches/2.2 for inclusion in GnuCash 2.2.7.
*** Bug 550013 has been marked as a duplicate of this bug. ***
Applied to branches/2.2 as r17546 for inclusion in GnuCash 2.2.7.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=506873. Please update any external references or bookmarks.