GNC-PRICES

Dave Peticolas dave@krondo.com
Fri, 16 Feb 2001 00:12:47 -0800


"Kevin Hayes <Kevin Hayes" writes:
> Jason Rennie writes:
>  > 
>  > bsteiner@pactec.net said:
>  > > 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? 
>  > 
>  > You're probably running an RPM-based Linux installation (such as RedHat). 
>  >  You need to install a number of perl modules, including the one that 
>  > perl is complaining about, LWP/UserAgent.pm.  Does anyone have a list of 
>  > the non-standard Perl modules that need to be installed to get gnc-prices 
>  > to work?  I don't remember which ones I installed...
>  > 
>  > Jason
>  
> I've had exactly the same problem using Redhat 7 rpm from the gnucash
> site.
> The README for the source gnucash -1.4.10.tar.gz says in part...
> 
> "To be able to use certain features of GnuCash, such as reports and
> network stock price downloads, you must have the following packages
> below installed (in addition to those listed above).
> RPM's for most of these can be found at http://rufus.w3.org/linux/
> 
>   perl: Almost any version of perl5 should work.  I run perl-5.004 
> 
> In addition, some perl modules need to be installed:
> 
>   perl-LWP/libwww-perl-5.36
>   perl-HTML/HTML-0.6
>   perl-HTML/HTML-Parser-2.20
>         -- these perl modules are used to fetch stock & mutual fund quotes
>            off the net.  You can pick up RPMS at
>            ftp://ftp.gnucash.org/pub/gnucash/binaries/RPMS
>            http://rufus.w3.org/linux/RPM/PByName.html
>            http://linas.org/linux/gnucash (last resort)
>            or sources at
>            http://www.cpan.org/CPAN.html"
> 
> I downloaded these three rpms and unfortunately was unable to install
> the first one (LWP) due to a list of about 20 unsatisified
> dependencies...

I think the easiest way to install Perl modules is using cpan.
With RedHat 7, should should be able to run 'cpan' as root and
install modules from the CPAN site.

dave