gnc-prices is toast?
Dave Peticolas
dave@krondo.com
Thu, 16 Nov 2000 23:38:11 -0800
Jeff Clark writes:
> Dave Peticolas wrote:
>
> The /usr/share/gnucash/perl is necessary to pick up "gnucash.pm". The
> gnucash-1.4.8-1 "i386" rpm installs that file in
> /usr/share/gnucash/perl. I'm curious as to how Dave was able to get it
> running without adding a "use" for this directory to gnc-prices?
I didn't need to add it because it was already be there.
gnc-prices is created from gnc-prices.in during the build
process. Perhaps there is a bug revealed by your configuration
such that an incorrect directory is used.
> Anyway, when I now run gnc-prices, I get the following:
>
> nogates 86> gnc-prices ~/test.xac
> Can't locate loadable object for module gnucash in @INC (@INC contains:
> /usr/local/lib/gnucash/perl /usr/local/share/gnucash/perl
> /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl
> /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/local/bin/gnc-prices line 28
> BEGIN failed--compilation aborted at /usr/local/bin/gnc-prices line 28.
> nogates 87>
>
> So, where can I find the "loadable object for module gnucash"?
Try /usr/lib/gnucash/perl
Also, could you send the 'use' lines of your original gnc-prices
so we can see what went wrong?
thanks,
dave