From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: can one run tk/Ruby gui code from an emacs shell with compile?
Date: Fri, 18 Nov 2005 20:53:41 +0100 [thread overview]
Message-ID: <7505879cb557fdc9a149872e34af4b0b@Web.DE> (raw)
In-Reply-To: <Pine.SOL.4.30.0511181323000.3171-100000@wjh2.wjh.harvard.edu>
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.
next prev parent reply other threads:[~2005-11-18 19:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 17:11 can one run tk/Ruby gui code from an emacs shell with compile? anne001
2005-11-18 18:18 ` Peter Dyballa
2005-11-18 18:51 ` Anne G
2005-11-18 19:53 ` Peter Dyballa [this message]
2005-11-19 0:56 ` Anne G
2005-11-19 9:48 ` Peter Dyballa
2005-11-19 11:32 ` Anne G
2005-11-19 12:18 ` Peter Dyballa
2005-11-19 14:19 ` Anne G
2005-11-19 15:03 ` Peter Dyballa
2005-11-19 16:47 ` Success, emacs compiled my snipet Anne G
2005-11-19 19:20 ` Peter Dyballa
2005-11-20 0:16 ` can one run tk/Ruby gui code from an emacs shell with compile? Anne G
2005-11-20 1:13 ` Peter Dyballa
2005-11-20 14:41 ` Anne G
2005-11-20 15:53 ` Peter Dyballa
-- strict thread matches above, loose matches on Subject: below --
2005-11-19 17:19 Anne G
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7505879cb557fdc9a149872e34af4b0b@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.