Newbie question about gnc-prices

Dave Peticolas dave@krondo.com
Sun, 18 Mar 2001 14:23:40 -0800


Jean-David Beyer writes:
> When I got into my directory where I keep my GnuCash database and
> connected to the Internet, I tried to execute
> 
> gnc-prices JeanDavid.20010318163821.xac

This looks like a gnucash backup file. Although it is
a valid gnucash data file, I'm assuming you would rather
use your original file, which is the file with the name
you originally chose when you saved for the first time.


> Can't locate LWP/UserAgent.pm in @INC (@INC contains:
> /usr/share/gnucash/perl /usr/lib/perl5/5.00503/i386-linux
> /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005 .) at /usr/share/gnucash/perl/Quote.pm
> line 68.
> BEGIN failed--compilation aborted at /usr/share/gnucash/perl/Quote.pm
> line 68.
> BEGIN failed--compilation aborted at /usr/bin/gnc-prices line 22.

You are missing some perl modules. The easiest way to get them
is to use the 'cpan' script and use the commmand:

install Bundle::LWP

at the cpan prompt.

dave