help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can one run tk/Ruby gui code from an emacs shell with compile?


From: Peter Dyballa
Subject: Re: can one run tk/Ruby gui code from an emacs shell with compile?
Date: Fri, 18 Nov 2005 20:53:41 +0100


Am 18.11.2005 um 19:51 schrieb Anne G:

What is causing the problem?


That's the culprit: DYLD_LIBRARY_PATH!

DYLD_LIBRARY_PATH is a variable that tells programmes which need to load dynamic libraries where to find them. Usually if you *need* to set it, it is set up from many path elements which name all directories with such libraries. Here it is probably ab-used because aspell does not work. I don't think this is the right way.

I found it myself in my copy. I am using this correction:

        in Emacs' shell do: echo $SHELL
        
then create a file .emacs_<this shell name, i.e. the remainder when you subtract /bin/> (could be: .emacs_tcsh, .emacs_bash)

put into this file just one statement, for .emacs_tcsh: unsetenv DYLD_LIBRARY_PATH, for .emacs_bash: unset DYLD_LIBRARY_PATH (that's probably correct, I am no bash user)

If you see DYLD_LIBRARY_PATH still set (env | grep DYLD_LIBRARY_PATH) then do by hand the 'unset DYLD_LIBRARY_PATH'. I don't know when DYLD_LIBRARY_PATH is set, hopefully it only affects the shell and nothing else. If Ruby still can't find its library, then remove or rename /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/site- lisp/site-start.d/carbon-emacs-builtin-aspell.el and /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/site- lisp/site-start.d/carbon-emacs-builtin-aspell.elc -- that's the culprit file(s). (Putting them aside should not hurt much, I presume aspell won't work either. And probably it would be better to install CocoaAspell for spell-checking texts.)

If all fails, there are other Emacsen for Mac OS X. For example one with an Aqua/Cocoa interface (based on Unicode Emacs 23 -- which needs to be compiled first).

If you find some time, please send a bug report (together with a description of the cure) to mailto:macemacsjp-english@lists.sourceforge.jp -- could be you first need to subscribe. You'll find in the Help menu a Carbon department, which will take you (or your browser) the right web site.

--
Greetings

  Pete

Never be led astray onto the path of virtue.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]