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

David Appelfeld d.appelfeld at gmail.com
Sat Oct 31 15:01:08 PDT 2009


Hi All,

thank you Mark and Rob, it helps and I got further but I am still not
successful and after few hours with that I decided to write another post.

What I did so far.

Install Xcode and downloaded radiance-HEAD.tgz, and rad3R9supp.tar.gz. Then
unpack them inside ray folder according to the instructions on
http://www.radiance-online.org/software/ .
Then place ray folder to usr/local/lib/ray and run sudo ./makeall install.

It started to install, but it ended again with message "There were some
errors."

Here is part of the text from terminal with errors:
....
*lipo: can't open input file: /var/tmp//cc7tPgdL.out (No such file or
directory)
make: *** [rpict] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd
-I/usr/X11R6/include -L/usr/X11R6/lib -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -o ./rvu rvmain.o rview.o rv2.o rv3.o
devtable.o devcomm.o editline.o x11.o x11twind.o colortab.o
../lib/libradiance.a -lrtrad -lm -lX11
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cczmztgf.out (No such file or
directory)
make: *** [rvu] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd
-I/usr/X11R6/include -L/usr/X11R6/lib -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -o ./lookamb lookamb.o ambio.o -lrtrad -lm
ld: library not found for -lcrt1.10.5.o
ld:collect2:  library notld returned 1 exit status
 found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccXciAPr.out (No such file or
directory)
make: *** [lookamb] Error 1*
....

I guess it is something with wrong path or environment, I am not sure.
I also did as Mark suggested:

>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.


I wrote that to the end of file "bashrc" at /etc/bashrc. I was not sure how
to re-source that file so I just write "source ~/.bashrc" to the beginning
of file "profile" at /etc/profile, but this probably dost not work.


Thank you again

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20091031/060984b1/attachment.html


More information about the Radiance-general mailing list