[Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Tue Jan 20 08:59:21 PST 2015


Yeah, grab radiance 4.2.2-darwin.dmg and double-click that, then dbl-click on the installer package and follow the directions. Afterward, you still need to do the path setting step detailed by Andy in his video, just substituting the paths from my last email. If you use that installer, you don't need the source code (well, it's still useful for general interest, but you don't need it to run Radiance on your computer).

- Rob

P.S. You can also browse the source code on the GitHub mirror, and see the entire revision history, here:
https://github.com/NREL/Radiance/tree/combined  (make sure you're on the "combined" branch, which is the one we keep up to date with Greg's changes (hourly).) It's pretty awesome to see every change through time!

On 1/20/15, 9:51 AM, "Todor Syarov" <thodor at abv.bg<mailto:thodor at abv.bg>> wrote:

Thank you Rob, for the fast reply and the link provided!!!

ok, so I would need now only to the radiance 4.2.2-darwin.dmg to unpack, no?
what do I need the source code for? -is it the non-compiled version of radiance 4.2.2-darwin.dmg?



-------- Оригинално писмо --------
От: "Guglielmetti, Robert" Robert.Guglielmetti at nrel.gov<mailto:Robert.Guglielmetti at nrel.gov>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <radiance-general at radiance-online.org<mailto:radiance-general at radiance-online.org>>
Изпратено на: 20.01.2015 18:35

OK this one means you don't have the X11 libraries installed. This is something you need to have on your system in addition to XCode in order to build a few of the Radiance programs (rvu, image, etc.). Your build probably failed and you have a somewhat busted installation of Radiance, here.

(Bias alert) may I suggest you try the Mac Radiance installer we have available?
https://github.com/NREL/Radiance/releases

These have everything built already, and the installer puts everything in:
/usr/local/radiance/bin
/usr/local/radiance/lib
/usr/local/radiance/man

…and you can follow Andy's path setting tricks in that video you posted to get this all dialed in and working for ya.

- Rob

On 1/20/15, 9:25 AM, "Todor Syarov" <thodor at abv.bg<javascript:%20internSendMess('thodor at abv.bg')><mailto:thodor at abv.bg>> wrote:

One of the first messages I was getting before error 127
was:


----------------

x11image.c:26:11: fatal error: 'X11/Xlib.h' file not found

#include <X11/Xlib.h>

---------------

eventhough i I had checked before installing the compatibility btw OS system and Xcode



-------- Оригинално писмо --------
От: "Brian Karr" brianakarr at yahoo.com<javascript:%20internSendMess('brianakarr at yahoo.com')><mailto:brianakarr at yahoo.com>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <radiance-general at radiance-online.org<javascript:%20internSendMess('radiance-general at radiance-online.org')><mailto:radiance-general at radiance-online.org>>
Изпратено на: 20.01.2015 17:46

Not sure if this applies, when I installed on Mac this thread helped:

http://www.radiance-online.org/pipermail/radiance-dev/2003-October/000221.html

>> P.S. For some reason, the source auxiliary files are not included in
>> the HEAD distribution. The following files are missing:
>>
>> ray/src/common/tmesh.cal
>> ray/src/cv/lamp.tab
>> ray/src/cv/source.cal
>> ray/src/cv/tilt.cal
>> ray/src/gen/clockface.hex
>> ray/src/gen/glaze1.cal
>> ray/src/gen/glaze2.cal
>> ray/src/gen/illum.cal
>> ray/src/gen/rev.cal
>> ray/src/gen/skybright.cal
>> ray/src/gen/surf.cal
>> ray/src/rt/rayinit.cal


From: Todor Syarov [mailto:thodor at abv.bg]
Sent: Tuesday, January 20, 2015 10:02 AM
To: Radiance general discussion
Subject: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127

Dear all,

I wanted to install on Mac/Yosemite/ Radiance
rad4R2supp.tar.gz

Xcode is installed and updated for compatibility with OS Yosemite*

following the instruction :https://www.youtube.com/watch?v=ptTmdKSfK68#t=137
I believe I have done something wrong installing it:

#after setting the Raypath , Path and Manpath as in the video
#I have unpacked benchmark
#typed :make (command)// "i have one processor"

and experienced the following error


------------------

CHANGES

2010-12-01 MJS reworked Makefile and options so that same code will

work on any version of Radiance going back ~5 years

2011-03-24 MJS removed "-pm 0.0" from optionsbase because rpiece throws

an error in 4R1

Niyas-iMac:bench4 niya$ make

/bin/sh: rpict: command not found

/bin/sh: rpict: command not found

rm -f serial.unf

time rpict @viewpoint @options -x 2048 -y 2048 -t 60 -o serial.unf scene.oct

rpict: No such file or directory

0.00 real 0.00 user 0.00 sys

make: *** [serial.unf] Error 127

--------------



How do you solve such problem in order to proceed with installing Radiance on Mac?

Best Regards,

Niya



_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org<javascript:%20internSendMess('Radiance-general at radiance-online.org')>
http://www.radiance-online.org/mailman/listinfo/radiance-general



More information about the Radiance-general mailing list