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

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Tue Jan 20 08:52:50 PST 2015


If you used the "makeall" script, you need to make sure that the path location(s) match what you selected in that step. However, your last error message about the X11 header file not being found, makes me think you don't have a complete set of binaries anyway. I'd recommend you install the binaries we have available at the NREL Radiance GitHub site, and then change the paths thusly, in your "~/.profile" file:

export PATH=/usr/local/radiance/bin:$PATH

export RAYPATH=.:/usr/local/radiance/lib

export MANPATH=/usr/local/radiance/man

This way we can eliminate any build/compile errors from the scenario and just focus on getting your system pointing to Radiance. How's that sound?

- Rob

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


!Indeed
i get no files/directory found

eventough I see the radiance package unpacked under:

Applications/Radiance/HEAD


my paths are set to:

pico ~/.profile

export PATH=/Applications/Radiance/HEAD/ray/OUTPUT:$PATH

export RAYPATH=.:/Applications/Radiance/HEAD/ray/lib

export MANPATH=/Applications/Radiance/HEAD/ray/doc/man


as in the video tutorial by Andy McNeil/

I believe I am missing something that might be obvious enough, not for a new Mac user,though

Robert, how would you proceed to solve such problem?



-------- Оригинално писмо --------
От: "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:29

While the benchmark is a nice way to test out various pieces of the Radiance codebase, it is in some ways abstracted from the bare metal installation of Radiance. Might be better to just try asking your system where it thinks your installed binaries are, e.g., "which rpict" should print the full path location of rpict on your system, like:

$which rpict
/usr/local/bin/rpict

If that command returns nothing, then your system doesn't know where Radiance is (which seems to be what the benchmark script is saying too). Double check that your paths are set properly, and that you are running the benchmark script from a NEW terminal window, not the one you used to compile Radiance and set the paths.




On 1/20/15, 9:04 AM, "Brian Karr" <brianakarr at yahoo.com<javascript:%20internSendMess('brianakarr at yahoo.com')><mailto:brianakarr at yahoo.com>> wrote:

I believe you can just delete the install directories to start from new. Or reinstall in a different location. Im pretty new to radiance, so you may want to wait for other feedback.

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

Hello Brian,

Thank you for the fast response. I will give it a try.

How do I deinstall Radiance to set it a new? I see only the unpacked folder. Is it just by deleting the folder - i guess that would be too easy to be true//



-------- Оригинално писмо --------
От: "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]<mailto:[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