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

Home » Public Forums » archive » Re: Possible problem with GDL environment variables under Fedora 5
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
Re: Possible problem with GDL environment variables under Fedora 5 [message #48299] Mon, 10 April 2006 10:46 Go to next message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
I think you might also need to set an environment variable. In
~/.bashrc add the following lines:

IDL_STARTUP='path to a file similar to that suggested by Andy'

and / or

GDL_STARTUP='path to a file similar to that suggested by Andy'

Let us know how it goes...

Gianguido
Re: Possible problem with GDL environment variables under Fedora 5 [message #48302 is a reply to message #48299] Mon, 10 April 2006 02:55 Go to previous messageGo to next message
Andy Heaps is currently offline  Andy Heaps
Messages: 22
Registered: March 2006
Junior Member
Hello idlwizard-1,
try creating a file
called .gdlrc in your home directory and then
try gdl again. You can then set your path
and other variables with in the .gdlrc file
as you would in your .idlrc file.

;gdlrc file
!PATH=!PATH+'~/idl_code'
print,'Code library included'

Cheers
Andy
Re: Possible problem with GDL environment variables under Fedora 5 [message #48346 is a reply to message #48299] Thu, 13 April 2006 16:25 Go to previous messageGo to next message
idlwizard-1@yahoo.com is currently offline  idlwizard-1@yahoo.com
Messages: 11
Registered: December 2005
Junior Member
No, those two things weren't enough. I still get

'GDL_STARTUP'/'IDL_STARTUP' environment variables both not set.
No startup file read.

I also tried
csh
set IDL_STARTUP /home/myself/src
set GDL_STARTUP /home/myself/src

(where /home/myself/src is the equivalent of your ~/idl_code) and got
the same error.

But

csh
setenv IDL_STARTUP /home/myself/src
setenv GDL_STARTUP /home/myself/src

and that got rid of the error.

(I don't know enough about bash to do the equivalent in bash.)
Re: Possible problem with GDL environment variables under Fedora 5 [message #48440 is a reply to message #48346] Fri, 14 April 2006 07:18 Go to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
What shell do you use regularly?

type echo $SHELL to find out.

Gianguido
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Day/Night Terminator on Map Projection
Next Topic: Possible problem with GDL environment variables under Fedora 5

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

Current Time: Thu Oct 09 13:58:42 PDT 2025

Total time taken to generate the page: 1.28103 seconds