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 19:18:04 +0100 [thread overview]
Message-ID: <36d88fdb7701f0cd9489bd8d2a6668f0@Web.DE> (raw)
In-Reply-To: <1132333911.001887.281210@g14g2000cwa.googlegroups.com>
Am 18.11.2005 um 18:11 schrieb anne001:
> I have a small test snipet which runs fine from the terminal prompt
> (mac os 10.3.5)
> but I can't get it to run from emacs. when I try to compile it in emacs
> I get the error
> message
>
> /usr/lib/ruby/1.6/tk.rb:7:in `require': No such file to load --
> tcltklib (LoadError)
>
Which Emacs are you using? Carbon, Cocoa/Aqua, X11, or Apple's
/usr/bin/emacs which only runs in a terminal?
You could do this, once in Terminal, once in Emacs' shell:
env | sort -o Terminal.environment
env | sort -o Emacs.environment
Finally do somewhere (would work in Emcas with ediff too):
diff Terminal.environment Emacs.environment
This would reveal differences in the runtime environments and might
lead you to the difference that causes the different behaviour. Once
you've found that difference you can record it in
~/.MacOSX/environment.plist (see Apple's
http://developer.apple.com/qa/qa2001/qa1067.html). This file is read by
Mac OS X applications (like Carbon or Cocoa/Aqua Emacsen) and helps
them to find things in the UNIX world. It won't help /usr/bin/emacs or
GNU Emacs in X11 ...
Are you using different shells in Emacs and in Terminal?
How are you executing Ruby? From inside a Makefile?
--
Greetings
Pete
There's no place like ~
(UNIX Guru)
next prev parent reply other threads:[~2005-11-18 18:18 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 [this message]
2005-11-18 18:51 ` Anne G
2005-11-18 19:53 ` Peter Dyballa
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=36d88fdb7701f0cd9489bd8d2a6668f0@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.