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

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.

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.

···

On 1/20/15, 9:04 AM, "Brian Karr" <[email protected]<mailto:[email protected]>> wrote:

From: Todor Syarov [mailto:[email protected]]
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" [email protected]<mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<mailto:[email protected]>>
Изпратено на: 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:[email protected]]<mailto:[mailto:[email protected]]>
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

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?

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" <[email protected]<mailto:[email protected]>> 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" [email protected]<mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<mailto:[email protected]>>
Изпратено на: 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:[email protected]]
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

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

!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" [email protected]<mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<mailto:[email protected]>>
Изпратено на: 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.

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.

···

On 1/20/15, 9:45 AM, "Todor Syarov" <[email protected]<mailto:[email protected]>> wrote:
On 1/20/15, 9:04 AM, "Brian Karr" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>> wrote:

From: Todor Syarov [mailto:[email protected]]
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" [email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>>
Изпратено на: 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:[email protected]]<mailto:[mailto:[email protected]]>
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
[email protected]<javascript:%20internSendMess('[email protected]')>
http://www.radiance-online.org/mailman/listinfo/radiance-general

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" <[email protected]<mailto:[email protected]>> 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" [email protected]<mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<mailto:[email protected]>>
Изпратено на: 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?

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" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>> 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" [email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>>
Изпратено на: 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:[email protected]]
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
[email protected]<javascript:%20internSendMess('[email protected]')>
http://www.radiance-online.org/mailman/listinfo/radiance-general

If you installed the 4.2.2 binary package form this link:
https://github.com/NREL/Radiance/releases/download/4.2.2/radiance-4.2.2-Darwin.dmg

…then you just need to do the path thing I mentioned in my last email, and you should be able to run Radiance from a new terminal window. Uninstalling the last attempt is just a matter of deleting that directory. Looks like Andy has you install to /Applications/radiance/head or whatever. Just delete that directory, assuming everything is in there. When you change the paths, you'll be all set. Getting close!

- Rob

!package from NREL Radiance GitHub unpacked and installed

is it time now for -xzf Radiance-4.2.2.tar.gz?
how can i deinstall my previous attempt of installing radiance
bevor I apply from your GitHub the 4-2-2 version?

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

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

!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" [email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>>
Изпратено на: 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.

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.

···

On 1/20/15, 10:02 AM, "Todor Syarov" <[email protected]<mailto:[email protected]>> wrote:
On 1/20/15, 9:45 AM, "Todor Syarov" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>> wrote:
On 1/20/15, 9:04 AM, "Brian Karr" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>> wrote:

From: Todor Syarov [mailto:[email protected]]
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" [email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>>
Изпратено на: 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:[email protected]]<mailto:[mailto:[email protected]]>
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
[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')>
http://www.radiance-online.org/mailman/listinfo/radiance-general

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

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" <[email protected]<mailto:[email protected]>> wrote:

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

sudo ./makeall install

or how shall I go on?

-------- Оригинално писмо --------
От: "Guglielmetti, Robert" [email protected]<mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<mailto:[email protected]>>
Изпратено на: 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" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>> 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" [email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>>
Изпратено на: 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?

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" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>> 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" [email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>>
Изпратено на: 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:[email protected]]
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
[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')>
http://www.radiance-online.org/mailman/listinfo/radiance-general

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

Cool, great news! Have fun…

- Rob

···

On 1/20/15, 10:55 AM, "Todor Syarov" <[email protected]<mailto:[email protected]>> 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" [email protected]<mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<mailto:[email protected]>>
Изпратено на: 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" <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>> wrote:

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

sudo ./makeall install

or how shall I go on?

-------- Оригинално писмо --------
От: "Guglielmetti, Robert" [email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<javascript:%20internSendMess('[email protected]')><mailto:[email protected]>>
Изпратено на: 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" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>> 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" [email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: Radiance general discussion <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><mailto:[email protected]>>
Изпратено на: 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?

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" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]><mailto:'[email protected]>')><mailto:[email protected]>> 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" [email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]><mailto:'[email protected]>')><mailto:[email protected]>
Относно: Re: [Radiance-general] Installing Radiance on OS Yosemite_make: *** [serial.unf] Error 127
До: "'Radiance general discussion'" <[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]><mailto:'[email protected]>')><mailto:[email protected]>>
Изпратено на: 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:[email protected]]
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
[email protected]<javascript:%20internSendMess('[email protected]')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]>')><javascript:%20internSendMess('[email protected]<mailto:'[email protected]><mailto:'[email protected]>')>
http://www.radiance-online.org/mailman/listinfo/radiance-general

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

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