gnc-prices complains about missing LWP/UserAgent.pm

linas@linas.org linas@linas.org
Wed, 15 Nov 2000 09:53:10 -0600 (CST)


Hi Ben,
It's been rumoured that Ben Stanley said:
> 
> 
> Hi,
> 
> I've been meaning to try out the stock ticker program for ages, and today I 
> finally did. When I ran it, it rudely said:
> 
> ben [12:11:07] /share/money $ gnc-prices Money2000-2001.gnc
> 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.
> ben [12:11:24] /share/money $    
> 
> Can someone please tell me what package should contain LWP/UserAgent.pm?

You will need to visit www.cpan.org  (or www.perl.org) and locate the
LWP module, and install that.  (there may also be an LWP::UserAgent that
also needs to be fetched & installed.

If you run redhat, you can install an rpm instead, I forget the name of
the rpm, but its something like 'perl-libwww'

I suppose we should have made this a dependency in the rpm, spec file.

--linas