In article <[EMAIL PROTECTED]>,
 David Reiser <[EMAIL PROTECTED]> wrote:

> On Mar 19, 2008, at 8:50 PM, Alexander Hansen wrote:
> 
> >
> > On Mar 19, 2008, at 7:34 PM, Richard Nelson wrote:
> >>
> >
> > <snip>
> >
> >> I am finally able to get quotes. But so far the only way to do it is
> >> to
> >> start gnucash from the terminal with x11 already running. Starting
> >> from
> >> an x11 terminal means that Finance::Quote does not load properly.  
> >> If I
> >> do /sw/bin/gnucash in terminal without x11 running it won't start at
> >> all.
> >>
> >> Richard
> >>
> >>
> >
> > This may be the standard issue with X11.app not processing the user
> > environment customizations.  I have my
> >
> > . /sw/bin/init.sh
> >
> > in ~/.bashrc instead of ~/.profile or ~/.bash_profile because that's
> > one of the startup files that Apple's X11 knows about.
> 
> mine's in ~/.profile and not in ~/.bashrc, so while it might help, it  
> doesn't appear to be required.
> 
> What happens if you just type 'gnucash' in a terminal window?
> If you have to use /sw/bin/gnucash, then I think you should try running
> 
> /sw/bin/pathsetup.sh
> 
> to see if that helps. The gnc-fq-helper that launches finance-quote  
> for gnucash is in /sw/bin, so your system probably looks in the  
> current app's directory as part of the ephemeral path once x11 knows  
> where gnucash came from.
> 
> You should only have to run pathsetup once.
> 
> If that doesn't work, please post the output of:
> 
> fink --version | head -n 2
> 
> and
> 
> fink list -i gnucash2 finance-quote libwww html-tableextract crypt- 
> ssleay perl
> 
> (that last bit is one line, but the mailing list may wrap it).
> 
> Also, do you get the same answer to 'which perl' when you type it in a  
> regular terminal and in an xterm window? (I sure hope so, but I'm  
> fishin' here...)
> 
> Dave
> --
> David Reiser
> [EMAIL PROTECTED]

I can type either "gnucash" or "sw/bin/gnucash" in a terminal window and 
gnucash will start with Finance::Quote properly loaded, but only if x11 
is already running. If x11 is not running it will not start at all when 
I type either of these commands into terminal.

"Which perl" produces "usr/bin/perl" in either a terminal window or an 
x11 terminal window.

I am running package manager 0.28.1.

Here is the result of "fink list -i gnucash2 finance-quote libwww 
html-tableextract crypt-ssleay perl":

>  i   crypt-ssleay-pm  0.51-2       Perl module, allows perl to use OpenSSL
>  i   finance-quote-p  1.13-3       Perl module to get stock quotes
>  i   finance-quotehi  1.11-1       Perl module to get old financial quotes
>  i   gnucash2         2.2.4-101    Financial-accounting software
>  i   gnucash2-shlibs  2.2.4-101    Financial-accounting software
>  i   html-tableextra  2.10-1       Perl module to extract data from html 
>  tables
>  i   libwww           5.4.0-7      General-purpose cross-platform Web API in 
>  C
>  i   libwww-bin       5.4.0-7      General-purpose cross-platform Web API in 
>  C
>  i   libwww-pm588     5.805-2      Perl modules, programming interface to WWW
>  i   libwww-shlibs    5.4.0-7      General-purpose cross-platform Web API in 
>  C
>  p   perl588-core                  [virtual package]
>  p   perlio-eol-pm58               [virtual package]
>  p   perlobjcbridge-               [virtual package]
>  i   system-perl      5.8.8-1      [virtual package representing perl]
>  p   system-perl588                [virtual package]

Thanks for all the help. I'm pretty happy with the way things are 
working now that I'm back to a working Finance::Quote install. It would 
be nice to get things working perfectly though.

Richard


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to