Re: IDLWAVE path to idl binary [message #36554] |
Fri, 26 September 2003 14:00 |
Justin[2]
Messages: 16 Registered: October 2002
|
Junior Member |
|
|
Oh yes - there it is clearly in the documentation under 'Starting the
Shell'. I really should have noticed that.
Thanks for the solution, I am shelling now with gay abandon.
Justin
JD Smith <jdsmith@as.arizona.edu> wrote in
news:pan.2003.09.26.18.48.41.358902.6651@as.arizona.edu:
> IDLWAVE needs to know where IDL is to run it as a process. By
> default, it attempts to invoke it as "idl", which presumes such an
> executable is on your search path. You need to ensure "idl" is on
> your $PATH, or specify the full pathname to the idl program with
> `idlwave-shell-explicit-file-name'. Note that you may need to set
> your path in two places when running Emacs as an Aqua application
> with MacOSX; see the next topic.
>
|
|
|
Re: IDLWAVE path to idl binary [message #36555 is a reply to message #36554] |
Fri, 26 September 2003 11:48  |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Fri, 26 Sep 2003 11:33:52 -0700, Justin wrote:
> Hello All,
>
> After all the evangelism I decided to try IDLWAVE as opposed to IDLDE
> under Solaris 9. IDLWAVE is pre-installed on our system (only version
> 4.7 though). Sadly I can't even get the shell (C-c C-s) working. I get:
>
> Seaching for program: no such file or directory, idl
>
> I've tried adding the idl binary path to load-path in my ~/.emacs file
> and I've also tried setting idlwave-system-directory (even though the
> docs say this is not needed under Unix).
>
> "idl" works from the command line, although it is aliased rather than in
> the path.
>
This was a recent FAQ I added, which will be in the manual as soon as
I make a new release. While you're at it, you might have your
sysadmin (or yourself) upgrade your IDLWAVE version. The version
still distributed with Emacs is a rather old one.
I get errors like "Searching for program: no such file or
directory, idl" when starting the shell."
IDLWAVE needs to know where IDL is to run it as a process. By
default, it attempts to invoke it as "idl", which presumes such an
executable is on your search path. You need to ensure "idl" is on
your $PATH, or specify the full pathname to the idl program with
`idlwave-shell-explicit-file-name'. Note that you may need to set
your path in two places when running Emacs as an Aqua application
with MacOSX; see the next topic.
The bottom line is, if you can just type "idl" in the shell or
environment from which Emacs is spawned, it should work. Otherwise,
you need to setup your path such that this is the case, or just
specify the explicit location of the idl binary you want to run. If
you need some arguments with your program, perhaps "-genver", you can
specify them with:
(setq idlwave-shell-command-line-options "-genver")
in your .emacs.
JD
|
|
|