You are here

PerlPath missing in GnuCashPortable.ini

3 posts / 0 new
Last post
axeonz
Offline
Last seen: 11 years 4 months ago
Joined: 2013-06-07 03:55
PerlPath missing in GnuCashPortable.ini

I am currently using GnuCash 2.4.13 and I've installed Perl Portable. However, I am unable to get Finance Quotes in my GnuCash. When I check my GnuCashPortable.ini, there is no PerlPath specified. How do I add in the path in the .ini file please?

Hans Henderson
Offline
Last seen: 11 years 4 months ago
Joined: 2011-12-21 22:14
From a little googling

From the README - by default (= if that variable isn't present) this path is C:\Perl\bin.

Try setting the variable to the correct bin path in your PortablePerl setup.

Did you see this: https://portableapps.com/node/27246 ?

and the note on this issue here https://portableapps.com/support/gnucash_portable ? (search for "Finance Quote" Perl module)

---------

For myself I would suggest that those wanting an updated PortablePerl should install the current (outdated) version in the recommended CommonFiles structure as with Java GTK Python gnuwin32/MSYS/MinGW et al.

In order to bring it up to date, run the regular Strawberry install on a scratch location and then copy the binaries over, overwriting the outdated ones under CommonFiles.

I recognize this is a kludgy workaround, but in the past that approach has worked for me.

If there is a more recent approach for Portablizing Strawberry somewhere or anything else I've missed, someone else please chime in here.

I believe Adam Kennedy is the primary person working on this in the past?

I have no idea of the provenance or usability of this project either:

http://sourceforge.net/projects/perlportable/

Hope some of the above is helpful. . .

axeonz
Offline
Last seen: 11 years 4 months ago
Joined: 2013-06-07 03:55
Stuck

Hi Hans,

Thanks for the suggestions. I've tried adding the variables but still gets an error. Perhaps my variable is wrong?

I insert into the .ini file this "PATH=%PAL:AppDir%\CommonFiles\Perl\bin" under environment. So now it looks like this

PATH=%PAL:AppDir%\CommonFiles\Perl\bin;%PAL:AppDir%\GnuCash\bin;%PAL:AppDir%\GnuCash\lib;%PAL:AppDir%\GnuCash\share\gnucash;%PATH%

Then I ran the install-fq-mods.cmd and the terminal display these,

* Check Perl

'perl' is not recognized as an internal or external command,
operable program or batch file.
'perl' is not recognized as an internal or external command,
operable program or batch file.

Did not find a usable perl.
Please install ActivePerl 5.8, or above (http://www.activestate.com/store/active
perl)
and add the bin directory to your Path environment variable.

An error occurred, see above.

Press any key to continue . . .

Any help will be appreciated.

Thanks.

Log in or register to post comments