comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » OSX IDL 6.3 and IDLWAVE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
OSX IDL 6.3 and IDLWAVE [message #54944] Tue, 24 July 2007 16:10 Go to next message
Brigette Hesman is currently offline  Brigette Hesman
Messages: 4
Registered: February 2006
Junior Member
Hello,

I saw some mention of this problem earlier but none of the solutions
have worked for me.

When I use IDLWAVE to run IDL using OS X and IDL 6.3 I get a bus error
when I try to perform any functions that have to do with the display.
I have made sure that my X11 is loaded before I run emacs and IDLWAVE
and have tried the various options of setting my display environment
variable to 0. None of this has worked.

Does anyone have any advice on what to do?

I can run IDL fine when I run it independently (outside of emacs and
idlwave) but I do not want to do this. I want to use emacs so I get
the color coding when I code.

Please help!

Cheers,
Brigette
Re: OSX IDL 6.3 and IDLWAVE [message #54993 is a reply to message #54944] Fri, 27 July 2007 10:50 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 24 Jul 2007 16:10:59 -0700, Brigette Hesman wrote:

> Hello,
>
> I saw some mention of this problem earlier but none of the solutions
> have worked for me.
>
> When I use IDLWAVE to run IDL using OS X and IDL 6.3 I get a bus error
> when I try to perform any functions that have to do with the display.
> I have made sure that my X11 is loaded before I run emacs and IDLWAVE
> and have tried the various options of setting my display environment
> variable to 0. None of this has worked.
>
> Does anyone have any advice on what to do?
>
> I can run IDL fine when I run it independently (outside of emacs and
> idlwave) but I do not want to do this. I want to use emacs so I get
> the color coding when I code.

This is the DISPLAY issue rearing it's head, and I expect you're running
Emacs from Carbon, not X11. Try starting emacs directly from the Shell
where you can get IDL to run, and also read:

http://www.dfanning.com/tips/maccrash.html

Another good option is to run Emacs under X11 (requires a different copy
of Emacs, preferably v22.1 or greater). Then you know you've got a proper
DISPLAY set. If you want to use it under Carbon, you need to ensure X11
is started (e.g. in your startup items), and set DISPLAY globally. An
easy way to do this is:

% mkdir ~/.MacOSX
% defaults write ~/.MacOSX/environment 0:0

This will work if you are the only user, but with multiple users logged in
each running X11, a different display variable will be needed.

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: =?utf-8?B?4peY4pa6TGVnYWxseSBBY2Nlc3MgRlJFRSBTYXRlbGxpdGUgVFYgb24geW91ciBQQ+KXhOKXmA==?=
Next Topic: EPS fragment output for latex font interpretation?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:43:13 PDT 2025

Total time taken to generate the page: 0.00479 seconds