[Radiance-general] Radiance installation on Mac OS X 10.5.6

Mark Stock mstock at umich.edu
Sat Oct 31 09:37:28 PDT 2009


David,

If you installed the Mac binaries in /usr/local/bin and the 
libraries in /usr/local/lib/ray, then you don't have to run 
any "makeall" commands, and you are almost all the way there. You 
may also want to copy the man pages from ray/doc/man 
into /usr/local/man.

All you should need to do is set up your environment. If you are 
using the bash shell (check with "env | grep SHELL") then add the 
following lines to your ~/.bashrc file:

export PATH=.:/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
export MANPATH=/usr/local/man:${MANPATH}

And then re-source that file with "source ~/.bashrc" and you 
should be good to go. That's an effective installation path, as 
far as I know.


Another way to install Radiance on a Mac (or Linux machine) is to 
unzip everything in the /usr/local directory, change to the 
newly-created /usr/local/ray directory, then in there type 
"./makeall install". That's also how I build for my Mac and Linux 
machines. It helps because I can just move /usr/local/ray to 
/usr/local/ray_old when a new version comes out.

I hope this helps! If you keep having problems, please post the 
error messages, as you've already done. Among all the folks on 
this list, we've seen them all.

Mark

On Sat, 31 Oct 2009, David Appelfeld wrote:

> Dear users,
> first of all I would like to thank you all for Radiance workshop in
> Cambridge. It was big pleasure to meet you all there and see what is going
> on and what is possible to do. It gave me lots of inspiration and big
> motivation to further work.
>
> My question is about how to install Radiance on my Mac. Since now I have
> been using Radiance on my Windows machine, running on Learnix distibution of
> Ubuntu under VirtualBox. I am very inexpedience user in these things . I
> have tried to search in the threats here at mailing list as well as on
> Internet, but still I was not able to finish an installation successfully. I
> am probably doing some simply mistake, since I guess the installation should
> be fairly easy.
> What I did so far:
> I downloaded main distribution of Radiance from
> http://radsite.lbl.gov/radiance/framed.html as well as binaries for Mac,
> then unpack them and copied the binaries to /usr/local/bin and libraries
> from ray/lib to /usr/local/lib/ray. Then I was not sure what to do next so I
> tried to run command "./makeall install". But then there were some errors,
> as follows (copied from terminal):
>
> *Making programs...
> /usr/local/lib/ray/src/common /usr/local/lib/ray/src
> In directory common...
> /usr/local/bin/rmake: line 2: exec: make: not found
> /usr/local/lib/ray/src
> /usr/local/lib/ray/src/rt /usr/local/lib/ray/src
> ..
> ..
> ..
> In directory cal...
> /usr/local/bin/rmake: line 2: exec: make: not found
> /usr/local/lib/ray/src
> There were some errors.*
>
> I am quit stack at the moment and don't know what I am doing wrong. Could
> anyone help me with this? I would like to know what I should copy where and
> which commands I should run to install Radiance, etc.
> I have already copy some files into usr folder etc.  and I am little bit
> worry to erase any of the files there since it could be very dangerous,
> therefore I would like to also know if it is now problem that I did what I
> have described above.
>
> Thank you in advance, I will very appreciate any help
>
> David
>



More information about the Radiance-general mailing list