It definitely exists, and it appears to be fine.Verify that /sw/bin/init.sh actually exists on your system, and if it does, make sure that it hasn't been corrupted somehow.
Peter O'Gorman wrote:
Oh, but it is, it's there twice, which suggests I have some tidying to do, but it is there:It does not launch from the menu because you do not have /sw/bin in your path.
adrian% echo $path
/sw/bin /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /usr/X11R6/bin /sw/bin
Of course from what Alexander said, just because Terminal has it in its path that doesn't mean Apple's X11 has it in its path.
I just did "launch /Applications/X11.app" in terminal and then used the X11 applications menu and gnucash launched, but it won't work when I launch X11.app from the dock. So yes, this appears to be a path problem, but not such a simple one.
Blah! I figured it out. It's working. In the applications menu I'd entered: ./sw/bin/init.sh ; gnucash
It should be: . /sw/bin/init.sh ; gnucash That space after the period is essential :(
Since I tried this after reading the fink docs I had a surf around and the typo is a on the site too, so it wasn't my fault :)
From <http://fink.sourceforge.net/doc/x11/inst-xfree86.php>, section 3.2 Apple's Binaries:
"Applications that require calling other programs under /sw for some of their functions need special treatment to get them to work when called from the Application menu. Instead of putting just the full path to the filename, e.g.
/sw/bin/emacs
you'll want to use something like the following: ./sw/bin/init.sh ; emacs
This makes sure that the application has the correct PATH information. You can use this syntax for any Fink-installed application"
That emacs line needs changing. I'm about to submit a bug report on sf.net under the website category.
Thanks for your help.
-- Adrian [EMAIL PROTECTED] IM ID: perlucida
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
