Radiance under Mac

Dear colleagues,

John, you will like to hear this. One of our Postdocs bought a Mac Box
and I am trying to install Radiance on it. At first I had trouble
compiling Radiance since no ggc was on it. So I installed the gcc
package. Now, it keeps on complaining that it does not find the standard
libraries such as studio.h. Would anybody know off-hand which packages
need to be installed on the Mac so that Radiance compiles? Also, when I
use the pre-installed binaries, 'ximage' is missing the file
/usr/X11R6/lib/libX11.6.dylib. Which package do I need to get that
running?

Christoph

PS: Windows forever:)

Reinhart, Christoph wrote:

Dear colleagues,

John, you will like to hear this. One of our Postdocs bought a Mac Box
and I am trying to install Radiance on it. At first I had trouble
compiling Radiance since no ggc was on it. So I installed the gcc
package. Now, it keeps on complaining that it does not find the standard
libraries such as studio.h. Would anybody know off-hand which packages
need to be installed on the Mac so that Radiance compiles? Also, when I
use the pre-installed binaries, 'ximage' is missing the file
/usr/X11R6/lib/libX11.6.dylib. Which package do I need to get that
running?

Hi Christoph,

I assume this is a G5 mac, and not a new Intel iMac? If so, all you should have to do is install the developer tools (called XCode now, and available on Apple's website), INCLUDING the X11 dev stuff, and run the makeall script specifying OSX as the operating system. The Macs don't come with all the compilation stuff outta the box because most Mac users don't compile software. But the beauty of the Macintosh/OSX marriage is that if you do want to do that stuff, it's all supported. Let me know if you still have trouble, but it should be pretty easy once all the compilers & libraries are installed (which is a simple download and a double-click).

PS: Windows forever:)

Blasphemy! Boooo! Hissssss!!!!

John, you will like to hear this. One of our Postdocs bought a Mac Box
and I am trying to install Radiance on it. At first I had trouble
compiling Radiance since no ggc was on it. So I installed the gcc
package. Now, it keeps on complaining that it does not find the standard
libraries such as studio.h. Would anybody know off-hand which packages
need to be installed on the Mac so that Radiance compiles? Also, when I
use the pre-installed binaries, 'ximage' is missing the file
/usr/X11R6/lib/libX11.6.dylib. Which package do I need to get that
running?

Actually, Greg's the guy to answer this because it's so long since I had to do anything to the install (it just keeps on working). But I'll try to remember as best as I can. Firstly, you don't need to install any special (i.e. non-Apple packages). Just install the developer tools in the standard release:
http://www.apple.com/macosx/developertools/
I think that includes X11:
http://www.apple.com/macosx/features/x11/
Once done, gcc should be found in /usr/bin/gcc (version 4.00 in Tiger).

Other than that, the only thing I can recall is having to create the directory /usr/tmp and making it world-writeable. The rest is "standard" Radiance environment stuff.

Put the X11 application icon in the dock (it's in the Utilities subdirectory of the Applications directory), and start that up before running any Radiance display programs.

I think that's all (but I may have missed something out).

-John

···

-----------------------------------------------
Dr. John Mardaljevic
Senior Research Fellow
Institute of Energy and Sustainable Development
De Montfort University
The Gateway
Leicester
LE1 9BH, UK
+44 (0) 116 257 7972
+44 (0) 116 257 7981 (fax)

[email protected]
http://www.iesd.dmu.ac.uk/~jm

Ooops... good point about Intel Macs, Rob. I'd forgotten about them. Anyone compiled Radiance yet on one of these noo fangled things?

-John

John Mardaljevic wrote:

Put the X11 application icon in the dock (it's in the Utilities subdirectory of the Applications directory), and start that up before running any Radiance display programs.

... I have some nifty code in my bash environment that automatically checks to see if X11 is running whenever I open a terminal window, and loads it if it isn't already (it also makes sure you're not in an ssh session first). I can post that tonight if anyone is interested.

- Rob

Dear colleagues,

John, you will like to hear this. One of our Postdocs bought a Mac Box
and I am trying to install Radiance on it. At first I had trouble
compiling Radiance since no ggc was on it. So I installed the gcc
package. Now, it keeps on complaining that it does not find the standard
libraries such as studio.h. Would anybody know off-hand which packages
need to be installed on the Mac so that Radiance compiles?

What version of Mac OS is installed? I suppose it's OS X and it's
a more recent version (10.3 or 10.4).

You should install the XCode 2 application "bundle" (probably on
the second DVD or via download from Apple). I don't remember
installing any additional software for compiling Radiance.

Also, when I use the pre-installed binaries, 'ximage' is missing the
file /usr/X11R6/lib/libX11.6.dylib. Which package do I need to get that
running?

OS X does not need an X11 server. It's not installed by default.
I use the one bundled with OS X (on the first DVD, you have to
select it manually). IIRC you can use another X11 server like
X.org as well. I wouldn't bother, though.

Before you start rvu or any other X11 application you have to
start the server first or the app will not find a server to
connect to.

Christoph

PS: Windows forever:)

Jehova, Jehova ...

Thomas

···

On 08.02.2006, at 21:02, Reinhart, Christoph wrote:

John Mardaljevic wrote:

Ooops... good point about Intel Macs, Rob. I'd forgotten about them. Anyone compiled Radiance yet on one of these noo fangled things?

Not to my knowledge, but my new Intel-powered Powerbook (MacBook Pro is a dumb name, let's face it) is still scheduled to ship a week from today, so hopefully very soon I'll be able to take a crack at compiling radiance on Intel/OSX (fair warning, Greg)!

- Rob

Be generous with RAM and you can check the "Open at Login" option
of the "Dock" (context menu when X is running) and never think about
it again (except for ML posts).

Thomas

···

On 08.02.2006, at 22:05, Rob Guglielmetti wrote:

John Mardaljevic wrote:

Put the X11 application icon in the dock (it's in the Utilities
subdirectory of the Applications directory), and start that up
before running any Radiance display programs.

... I have some nifty code in my bash environment that automatically
checks to see if X11 is running whenever I open a terminal window, and
loads it if it isn't already (it also makes sure you're not in an ssh
session first). I can post that tonight if anyone is interested.