From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: can one run tk/Ruby gui code from an emacs shell with compile? Date: Fri, 18 Nov 2005 20:53:41 +0100 Message-ID: <7505879cb557fdc9a149872e34af4b0b@Web.DE> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132343667 762 80.91.229.6 (18 Nov 2005 19:54:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2005 19:54:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 18 20:54:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1EdCJB-0002on-00 for ; Fri, 18 Nov 2005 20:54:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdCJA-0008Dm-GG for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Nov 2005 14:54:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdCIu-0008DU-Qu for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 14:53:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdCIt-0008DF-7q for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 14:53:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdCIt-0008DA-3L for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 14:53:47 -0500 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EdCIt-00011W-1S for help-gnu-emacs@gnu.org; Fri, 18 Nov 2005 14:53:47 -0500 Original-Received: from [84.245.189.191] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #317) id 1EdCIq-0006vt-00; Fri, 18 Nov 2005 20:53:44 +0100 In-Reply-To: Original-To: Anne G X-Mailer: Apple Mail (2.623) X-Sender: Peter_Dyballa@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:31148 Archived-At: 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_ (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.