From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anne G Newsgroups: gmane.emacs.help 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) Message-ID: References: <7505879cb557fdc9a149872e34af4b0b@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1132361818 22513 80.91.229.2 (19 Nov 2005 00:56:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 00:56:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 01:56:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdH26-0007Xt-LX for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 01:56:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdH26-0007hS-1z for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Nov 2005 19:56:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdH1f-0007cP-VZ for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 19:56:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdH1f-0007bq-8E for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 19:56:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdH1f-0007bi-1C for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 19:56:19 -0500 Original-Received: from [140.247.94.230] (helo=wjh1.wjh.harvard.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdH1f-0001sC-AQ for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 19:56:19 -0500 Original-Received: from localhost (anne@localhost) by wjh1.wjh.harvard.edu (8.11.7p2/8.11.6) with ESMTP id jAJ0uHv02030; Fri, 18 Nov 2005 19:56:17 -0500 (EST) Original-To: Peter Dyballa In-Reply-To: <7505879cb557fdc9a149872e34af4b0b@Web.DE> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31155 Archived-At: 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_ 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. >