Hi everyone,
I am a new Radiance user, currently a student at Penn State, currently trying to get Radiance up and running on my mac running os 10.3
... at 3:48 AM? There are so many other things to do at that hour! (of course, I don't seem to be doing much better here).
I don't know exactly what to do in order to set the RAYPATH environment variable so that my system knows to look for the radiance files in /usr/local/bin
If you're using Panther, your default shell is bash. The way you add environment variables is to add them to your .bash_profile file. This is like the autoexec.bat on a windows system. Note the period (dot) prefix on the filename. The dot makes it a hidden file, which won't show up when you do a directory listing. To see if you already have one, you do "ls -a", which lists the hidden files too.
Anyway, from your home directory, type:
pico .bash_profile
You should now be in a text editor displaying the contents of your .bash_profile file, or a blank file if it didn't exist already. You want to add the following lines:
PATH=/usr/local/bin:$PATH
RAYPATH=.:/usr/local/lib/ray
export PATH RAYPATH
What that does, line by line:
1) "make my PATH equal to /usr/local/bin, and whatever else was already in the PATH."
2) "make RAYPATH equal to the current directory (.) and /usr/local/lib/ray."
3) "save those requests; so that they exist every time I start a terminal session."
Could someone put together a beginner level unix user step by step list of how this is done. I can't wait to get this working! Thanks.
That's something I've been wanting to do for a while. For now, use this list as a resource, and you'll be up and running soon enough. Follow the steps above, and let us know if you still have problemos.
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Rob Guglielmetti
[email protected]
···
On Nov 22, 2003, at 3:48 AM, Benjamin Hagan wrote: