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

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Tue Jan 20 10:02:00 PST 2015


Cool, great news! Have fun…

- Rob

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

Thank you , Robert!

for bearing with my dotting qestions!, especially since i was triggering already since a week linking through forums.

It works and I can start.

It was a great help - thank you again!

best Regards,
Niya



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

The makeall step is not required if you are using the pre-compiled binaries. If you ran the installer and changed the patches, you are all set to… "begin". =)

First things first, you might now wanna try running the benchmark, or at least checking the basic installation is sound by typing "which rpict" at the command line. Should return "/usr/local/radiance/bin/rpict".

What you have now is Radiance installed on your Mac. Actually using it is the next exciting step, unfortunately it's a little more complicated than just running an executable and poking around in some menus. I recommend checking out some tutorials on the main site, and browsing the radiance-online listserv archives (http://www.radiance-online.org/community/mailing-lists/archives/radiance-general).

Wheeeeee!

- Rob

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

!good- i have changed the paths
can I proceed from the line:

sudo ./makeall install

or how shall I go on?




-------- Оригинално писмо --------
От: "Guglielmetti, Robert" Robert.Guglielmetti at nrel.gov<javascript:%20internSendMess('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<javascript:%20internSendMess('radiance-general at radiance-online.org')><mailto:radiance-general at radiance-online.org>>
Изпратено на: 20.01.2015 18:59

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<javascript:%20internSendMess('thodor at abv.bg')><javascript:%20internSendMess('thodor at abv.bg<mailto:'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<javascript:%20internSendMess('Robert.Guglielmetti at nrel.gov')><javascript:%20internSendMess('Robert.Guglielmetti at nrel.gov<mailto:'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<javascript:%20internSendMess('radiance-general at radiance-online.org')><javascript:%20internSendMess('radiance-general at radiance-online.org<mailto:'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')><javascript:%20internSendMess('thodor at abv.bg<mailto:'thodor at abv.bg>')><javascript:%20internSendMess('thodor at abv.bg<mailto:'thodor at abv.bg><mailto:'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')><javascript:%20internSendMess('brianakarr at yahoo.com<mailto:'brianakarr at yahoo.com>')><javascript:%20internSendMess('brianakarr at yahoo.com<mailto:'brianakarr at yahoo.com><mailto:'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')><javascript:%20internSendMess('radiance-general at radiance-online.org<mailto:'radiance-general at radiance-online.org>')><javascript:%20internSendMess('radiance-general at radiance-online.org<mailto:'radiance-general at radiance-online.org><mailto:'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')><javascript:%20internSendMess('Radiance-general at radiance-online.org<mailto:'Radiance-general at radiance-online.org>')><javascript:%20internSendMess('Radiance-general at radiance-online.org<mailto:'Radiance-general at radiance-online.org><mailto:'Radiance-general at radiance-online.org>')>
http://www.radiance-online.org/mailman/listinfo/radiance-general

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

_______________________________________________
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