GNC-PRICES

Adam C. Finnefrock adam@bigbro.biophys.cornell.edu
15 Feb 2001 18:07:03 -0500


BRS <bsteiner@pactec.net> writes:

> I am having trouble getting gnc-prices to run. When I try to run
> gnu-prices mydatabase.xac
> I get the messages printed below.  BTW I've many .xac files in my gnucash
> directory, which one do I want to use?
> 
> thnx - Brock
> 
> 
> ==========================
> Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/share/gnucash/perl
> /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl .) at /usr/share/gnucash/perl/Quote.pm line 68.
> BEGIN failed--compilation aborted at /usr/share/gnucash/perl/Quote.pm line 68.
> Compilation failed in require at /usr/bin/gnc-prices line 22.
> BEGIN failed--compilation aborted at /usr/bin/gnc-prices line 22.
> =======

You need the LWP perl module.

I recommend using CPAN as an easy way to find/install modules:
  man CPAN
then
  perl -MCPAN -e shell;


Adam