unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anne G <anne@wjh.harvard.edu>
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 19:56:16 -0500 (EST)	[thread overview]
Message-ID: <Pine.SOL.4.30.0511181946240.28452-100000@wjh1.wjh.harvard.edu> (raw)
In-Reply-To: <7505879cb557fdc9a149872e34af4b0b@Web.DE>

Thank you for your help.

I followed your instructions and created an .emacs_bash file
in /user/anne with unset DYLD.. .

I believe it did work in removing the dyld path
ASPELL_CONF=prefix
/Applications/Emacs.app/Contents/Resources;data-dir
/Applications/Emacs.app/Contents/Resources/lib/aspell-0.60;dict-dir
/Applications/Emacs.app/Contents/Resources/lib/aspell-0.60;conf-dir
/Applications/Emacs.app/Contents/Resources/etc
COLUMNS=80
EMACS=t
EMACSDATA=/Applications/Emacs.app/Contents/Resources/etc
EMACSDOC=/Applications/Emacs.app/Contents/Resources/etc
EMACSLOADPATH=/Applications/Emacs.app/Contents/Resources/lisp:/Applications/Emacs.app/Contents/Resources/leim:/Applications/Emacs.app/Contents/Resources/site-lisp
EMACSPATH=/Applications/Emacs.app/Contents/MacOS/libexec:/Applications/Emacs.app/Contents/MacOS/bin
HOME=/Users/anne
INFOPATH=/Applications/Emacs.app/Contents/Resources/info
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/X11R6/bin
PWD=/Users/anne
SHELL=/bin/bash
SHLVL=1
TERM=dumb
TERMCAP=
USER=anne
_=/usr/bin/env
__CF_USER_TEXT_ENCODING=0x1F6:0:0

But compile still can't find tcltklib from emacs.

I am going to upgrade to Tiger on monday. It will have ruby
1.8.2 I will try to reinstall emacs, and see if it is the
same in tiger. Maybe my problem will go away. I will let you
know what happens as soon as the computer is operative
again.

thank you so much for looking into this as you did

anne





On Fri, 18 Nov 2005, Peter Dyballa wrote:

>
> 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	other threads:[~2005-11-19  0:56 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
2005-11-19  0:56       ` Anne G [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.4.30.0511181946240.28452-100000@wjh1.wjh.harvard.edu \
    --to=anne@wjh.harvard.edu \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).