Newbie question about gnc-prices

Adam C. Finnefrock adam@bigbro.biophys.cornell.edu
18 Mar 2001 17:20:31 -0500


Jean-David Beyer <jdbeyer@exit109.com> writes:
> 
> gnc-prices JeanDavid.20010318163821.xac
> 
> but all I got is complaints:
> 
> 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.
> 

Check the gnucash-user archives; this has been discussed at some length
recently.  (We probably should have a FAQ, and this would be a candidate.)

Basically, you want CPAN, which is an excellent way to update perl modules on
your computer.  Try
     man CPAN
and then
     perl -MCPAN -e shell;

In your case, I'd recommend upgrading to perl-5.6 (via rpm) first.  Not that
CPAN won't work, but I think it will try to upgrade you to 5.6 at some point,
and the rpm is much faster.

HTH, Adam