After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 506873 - Win32: Cannot install online price retrieval with ActivePerl 5.10
Win32: Cannot install online price retrieval with ActivePerl 5.10
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Windows
2.2.x
Other Windows
: Normal major
: ---
Assigned To: Andreas Köhler
Christian Stimming
: 507161 514914 550013 (view as bug list)
Depends on:
Blocks: backport
 
 
Reported: 2008-01-02 16:21 UTC by Sriharsha Vedurmudi
Modified: 2018-06-29 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sriharsha Vedurmudi 2008-01-02 16:21:27 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 . . .
==========================================================================
Comment 1 Sriharsha Vedurmudi 2008-01-02 19:58:08 UTC
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)
Comment 2 Andreas Köhler 2008-01-07 21:38:03 UTC
*** Bug 507161 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Köhler 2008-01-07 21:42:40 UTC
I will try to look at it.  It may perfectly be that Sriharsha's patch suffices :-)
Comment 4 Andreas Köhler 2008-01-13 00:57:50 UTC
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).
Comment 5 Sriharsha Vedurmudi 2008-01-13 02:47:09 UTC
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.
Comment 6 Andreas Köhler 2008-02-08 20:39:38 UTC
*** Bug 514914 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Köhler 2008-02-08 20:41:35 UTC
(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]
Comment 8 Andreas Köhler 2008-02-08 22:28:19 UTC
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.
Comment 9 Christopher Barth 2008-02-09 02:18:21 UTC
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?
Comment 10 Andreas Köhler 2008-03-01 14:55:22 UTC
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.
Comment 11 Andreas Köhler 2008-09-10 16:13:10 UTC
This module is available for ActivePerl 5.10 now.  (Why did I notice that first? ;-))
A patch is on its way.
Comment 12 Andreas Köhler 2008-09-10 16:53:01 UTC
Committed as r17499 to trunk.
Awaiting backport to branches/2.2 for inclusion in GnuCash 2.2.7.
Comment 13 Andreas Köhler 2008-09-10 16:54:38 UTC
*** Bug 550013 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Köhler 2008-09-17 17:46:18 UTC
Applied to branches/2.2 as r17546 for inclusion in GnuCash 2.2.7.

Comment 15 John Ralls 2018-06-29 21:58:18 UTC
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.