OS/X 9 Mavericks -- "Get Quotes" issue

John Ralls jralls at ceridwen.us
Sun Oct 27 09:58:06 EDT 2013


On Oct 26, 2013, at 9:18 PM, David T. <sunfish62 at yahoo.com> wrote:

> Thanks John. Deleting .cpan recalibrated CPAN, and F::Q is working again.
> 
> I’m not entirely sure what you mean by “scrub your environment,” but I suspect it involves re-setting the path variable (which Fink changes to include /sw folders). I had actually manually cleared those from the path variable, but was encountering the problem from within CPAN.
> 
> I know it’s a Fink question, but what do I have to do to clear out the incorrect initialization of $PATH when I open up a terminal session?

Your startup environment is set by shell commands in one or more of ~/.bash_profile, ~/.bash_login, ~/.profile, and any files that they source (that's a bash command which adds files to the environment). Read `man bash` (which Unix geeks refer to as "bash(1)", because it's in section 1 of the man directory structure). Check all of those present on your system and edit as necessary. They're plain text files.

$PATH isn't the only path that OSX--or any other Unix--uses. The most important other one is $DYLD_LIBRARY_PATH, which sets the directories searched for shared libraries, but you may see others as well.

Regards,
John Ralls

> On Oct 25, 2013, at 10:34 PM, John Ralls <jralls at ceridwen.us> wrote:
> 
>> 
>> On Oct 25, 2013, at 10:07 PM, David T. <sunfish62 at yahoo.com> wrote:
>> 
>>> My situation is a little different… I have tried running /Applications/Gnucash.app/Contents/Resources/gnc-fq-update, CPAN downloads modules, but craps out because it’s looking for /sw/bin/tar
>>> 
>>> Now, I once used Fink, but haven’t bothered with it for a couple of iteration of OS X, and nuked the entire tree. I am not savvy enough to know why CPAN wants to use the Fink tree, or how it even knows about it, let alone fix it… Suggestions are welcome.
>> 
>> Two suggestions: Scrub your environment to make sure that there aren't any /sw paths anywhere and delete any .cpan directories you might have (the default is ~/.cpan, but you might have some others somewhere). (No, *three* suggestions) check `perl -V:install` to ensure that you aren't using a self-built perl that has /sw paths in it. (*Four* suggestions!) Wouldn't hurt to check `perl -le 'print join $/, @INC'` for stray paths as well.
>> 
>> Regards,
>> John Ralls
>> 
> 




More information about the gnucash-user mailing list