Mac osx install errors

Hi

Please forgive a newby but I am having trouble installing Radiance onto my Mac. I have installed the x11 SDK and so on. After downloading the Radiance binaries I ran sudo ./makeall install.

The errors are below:

config.status: error: cannot find input file: contrib/Makefile.in
make[1]: *** No rule to make target `all'.
make[1]: *** No rule to make target `install'.
make: *** [../lib/libtiff.a] Error 2
make: Target `install' not remade because of errors.

Can anyone PLEASE help and let me know what I am doing wrong here?

Many Thanks

Dan Fitzpatrick

Hi Further to this I have moved on a bit (I think) but now get error 64 occuring. Any idea what this is ? ( I have attached the shell history of teh install:

                RADIANCE 4.0a INSTALLATION

This script rebuilds all of the Radiance programs and installs
them on your system. You should read the file README before running
this script. You can type ^C (followed by return) at any time to abort.

You must first answer the following questions.

What is your preferred editor [vi]?
Where do you want the executables [/usr/local/bin]?
Current rmake command is:
#!/bin/sh
exec make "SPECIAL=ogl" \
        "OPT=-O2" \
        "MACH=-arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk" \
        ARCH=PowerPC "COMPAT=" \
        INSTDIR=/usr/local/ray \
        LIBDIR=/usr/local/lib/ray \
        ESUFFIX= \
        CC=cc CONFIGURE_ARCH=powerpc "$@" -f Rmakefile
Do you want to change it?
Making programs...
~/ray/src/common ~/ray/src
In directory common...
rm -f librtrad.a
ar rc librtrad.a cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o objset.o octree.o readfargs.o modobject.o getlibpath.o addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o tmap16bit.o bmpfile.o falsecolor.o fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o unix_process.o process.o gethomedir.o getpath.o error.o savestr.o savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o ealloc.o fdate.o portio.o myhostname.o
ranlib librtrad.a
rm -f librgl.a
ar rc librgl.a rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
ranlib librgl.a
mv -f librgl.a ../lib
mv -f librtrad.a ../lib
cd /usr/local/lib/ray && rm -f tmesh.cal
cp -f tmesh.cal /usr/local/lib/ray
~/ray/src
~/ray/src/rt ~/ray/src
In directory rt...
cp ./rtrace ./rpict ./rvu ./lookamb /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/meta ~/ray/src
In directory meta...
cp ./meta2tga ./pexpand ./psort ./cv ./psmeta ./plotin ./x11meta ./bgraph ./igraph ./dgraph ./gcomp ./plot4 ./meta2bmp /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cv ~/ray/src
In directory cv...
cp ies2rad arch2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/gen ~/ray/src
In directory gen...
cp genbox gensky xform genblinds genrev genworm gensurf genprism replmarks mkillum mksource genclock /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/ot ~/ray/src
In directory ot...
cp oconv getbbox obj2mesh /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/px ~/ray/src
In directory px...
cd tiff ; ./configure -C -quiet -with-CC=cc \
        "--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \
        --enable-static --disable-shared --disable-cxx \
        --enable-logluv --disable-jpeg \
        --disable-zlib --disable-pixarlog \
        "-with-ENVOPTS=-O2" ; \
cd port ; make all ; \
cd ../libtiff ; make install
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
config.status: error: cannot find input file: contrib/Makefile.in
make[1]: *** No rule to make target `all'.
make[1]: *** No rule to make target `install'.
make: *** [../lib/libtiff.a] Error 2
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/hd ~/ray/src
In directory hd...
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/x11.hdi rhdisp.o rhdisp2.o viewbeams.o \
rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrtrad -lX11 -lm
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_x11.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree2r.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_ctab.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cclUN4E9.out (No such file or directory)
make: *** [/usr/local/ray/dev/x11.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogl0.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cchJnNlF.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogl.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglo.hdi rhd_oglo.o rhdisp.o \
rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccyHgXk4.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglo.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogls.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccxXix3v.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogls.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglso.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cceIAJr8.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglso.hdi] Error 1
rm -f /usr/local/ray/dev/glx1.hdi
rm: /usr/local/ray/dev/glx1.hdi: Not a directory
make: *** [/usr/local/ray/dev/glx1.hdi] Error 1
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/util ~/ray/src
In directory util...
cp glrad /usr/local/ray
cp findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cal ~/ray/src
In directory cal...
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
There were some errors.

Add /usr/local/bin to the beginning of your execution path:
For C-shell users, put the following into ~/.cshrc
        set path=( /usr/local/bin $path )
For Bourne shell users, put the following into $HOME/.profile
        PATH=/usr/local/bin:$PATH
        export PATH

If you downloaded the binaries, you should not have to run makeall.
But you may need to copy all the .cal files into
/usr/local/lib/ray
Are you on a newer Intel Mac, or G4, G5 series?

Rob F

···

-----Original Message-----
From: [email protected] on behalf of Dan Fitzpatrick
Sent: Tue 8/5/2008 7:04 AM
To: [email protected]
Subject: RE: [Radiance-general] Mac osx install errors

Hi Further to this I have moved on a bit (I think) but now get error 64 occuring. Any idea what this is ? ( I have attached the shell history of teh install:

                RADIANCE 4.0a INSTALLATION

This script rebuilds all of the Radiance programs and installs
them on your system. You should read the file README before running
this script. You can type ^C (followed by return) at any time to abort.

You must first answer the following questions.

What is your preferred editor [vi]?
Where do you want the executables [/usr/local/bin]?
Current rmake command is:
#!/bin/sh
exec make "SPECIAL=ogl" \
        "OPT=-O2" \
        "MACH=-arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk" \
        ARCH=PowerPC "COMPAT=" \
        INSTDIR=/usr/local/ray \
        LIBDIR=/usr/local/lib/ray \
        ESUFFIX= \
        CC=cc CONFIGURE_ARCH=powerpc "$@" -f Rmakefile
Do you want to change it?
Making programs...
~/ray/src/common ~/ray/src
In directory common...
rm -f librtrad.a
ar rc librtrad.a cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o objset.o octree.o readfargs.o modobject.o getlibpath.o addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o tmap16bit.o bmpfile.o falsecolor.o fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o unix_process.o process.o gethomedir.o getpath.o error.o savestr.o savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o ealloc.o fdate.o portio.o myhostname.o
ranlib librtrad.a
rm -f librgl.a
ar rc librgl.a rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
ranlib librgl.a
mv -f librgl.a ../lib
mv -f librtrad.a ../lib
cd /usr/local/lib/ray && rm -f tmesh.cal
cp -f tmesh.cal /usr/local/lib/ray
~/ray/src
~/ray/src/rt ~/ray/src
In directory rt...
cp ./rtrace ./rpict ./rvu ./lookamb /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/meta ~/ray/src
In directory meta...
cp ./meta2tga ./pexpand ./psort ./cv ./psmeta ./plotin ./x11meta ./bgraph ./igraph ./dgraph ./gcomp ./plot4 ./meta2bmp /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cv ~/ray/src
In directory cv...
cp ies2rad arch2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/gen ~/ray/src
In directory gen...
cp genbox gensky xform genblinds genrev genworm gensurf genprism replmarks mkillum mksource genclock /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/ot ~/ray/src
In directory ot...
cp oconv getbbox obj2mesh /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/px ~/ray/src
In directory px...
cd tiff ; ./configure -C -quiet -with-CC=cc \
        "--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \
        --enable-static --disable-shared --disable-cxx \
        --enable-logluv --disable-jpeg \
        --disable-zlib --disable-pixarlog \
        "-with-ENVOPTS=-O2" ; \
cd port ; make all ; \
cd ../libtiff ; make install
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
config.status: error: cannot find input file: contrib/Makefile.in
make[1]: *** No rule to make target `all'.
make[1]: *** No rule to make target `install'.
make: *** [../lib/libtiff.a] Error 2
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/hd ~/ray/src
In directory hd...
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/x11.hdi rhdisp.o rhdisp2.o viewbeams.o \
rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrtrad -lX11 -lm
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_x11.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree2r.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_ctab.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cclUN4E9.out (No such file or directory)
make: *** [/usr/local/ray/dev/x11.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogl0.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cchJnNlF.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogl.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglo.hdi rhd_oglo.o rhdisp.o \
rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccyHgXk4.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglo.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogls.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccxXix3v.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogls.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglso.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cceIAJr8.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglso.hdi] Error 1
rm -f /usr/local/ray/dev/glx1.hdi
rm: /usr/local/ray/dev/glx1.hdi: Not a directory
make: *** [/usr/local/ray/dev/glx1.hdi] Error 1
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/util ~/ray/src
In directory util...
cp glrad /usr/local/ray
cp findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cal ~/ray/src
In directory cal...
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
There were some errors.

Add /usr/local/bin to the beginning of your execution path:
For C-shell users, put the following into ~/.cshrc
        set path=( /usr/local/bin $path )
For Bourne shell users, put the following into $HOME/.profile
        PATH=/usr/local/bin:$PATH
        export PATH

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Rob

I think I have sussed it now. I'm running an Intel. Trouble is now, I can't get the path et correctly. I have to type in the RAYPATH and path each time I start terminal to get radiance to work. Any ideas of what I need to do here?

Dan

RE: [Radiance-general] Mac osx install errors
If you downloaded the binaries, you should not have to run makeall.
But you may need to copy all the .cal files into
/usr/local/lib/ray
Are you on a newer Intel Mac, or G4, G5 series?

Rob F

···

-----Original Message-----
From: [email protected] on behalf of Dan Fitzpatrick
Sent: Tue 8/5/2008 7:04 AM
To: [email protected]
Subject: RE: [Radiance-general] Mac osx install errors

Hi Further to this I have moved on a bit (I think) but now get error 64 occuring. Any idea what this is ? ( I have attached the shell history of teh install:

            RADIANCE 4\.0a INSTALLATION

This script rebuilds all of the Radiance programs and installs
them on your system. You should read the file README before running
this script. You can type ^C (followed by return) at any time to abort.

You must first answer the following questions.

What is your preferred editor [vi]?
Where do you want the executables [/usr/local/bin]?
Current rmake command is:
#!/bin/sh
exec make "SPECIAL=ogl" \
"OPT=-O2" \
"MACH=-arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk" \
ARCH=PowerPC "COMPAT=" \
INSTDIR=/usr/local/ray \
LIBDIR=/usr/local/lib/ray \
ESUFFIX= \
CC=cc CONFIGURE_ARCH=powerpc "$@" -f Rmakefile
Do you want to change it?
Making programs...
~/ray/src/common ~/ray/src
In directory common...
rm -f librtrad.a
ar rc librtrad.a cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o objset.o octree.o readfargs.o modobject.o getlibpath.o addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o tmap16bit.o bmpfile.o falsecolor.o fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o unix_process.o process.o gethomedir.o getpath.o error.o savestr.o savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o ealloc.o fdate.o portio.o myhostname.o
ranlib librtrad.a
rm -f librgl.a
ar rc librgl.a rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
ranlib librgl.a
mv -f librgl.a ../lib
mv -f librtrad.a ../lib
cd /usr/local/lib/ray && rm -f tmesh.cal
cp -f tmesh.cal /usr/local/lib/ray
~/ray/src
~/ray/src/rt ~/ray/src
In directory rt...
cp ./rtrace ./rpict ./rvu ./lookamb /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/meta ~/ray/src
In directory meta...
cp ./meta2tga ./pexpand ./psort ./cv ./psmeta ./plotin ./x11meta ./bgraph ./igraph ./dgraph ./gcomp ./plot4 ./meta2bmp /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cv ~/ray/src
In directory cv...
cp ies2rad arch2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/gen ~/ray/src
In directory gen...
cp genbox gensky xform genblinds genrev genworm gensurf genprism replmarks mkillum mksource genclock /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/ot ~/ray/src
In directory ot...
cp oconv getbbox obj2mesh /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/px ~/ray/src
In directory px...
cd tiff ; ./configure -C -quiet -with-CC=cc \
"--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \
--enable-static --disable-shared --disable-cxx \
--enable-logluv --disable-jpeg \
--disable-zlib --disable-pixarlog \
"-with-ENVOPTS=-O2" ; \
cd port ; make all ; \
cd ../libtiff ; make install
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
config.status: error: cannot find input file: contrib/Makefile.in
make[1]: *** No rule to make target `all'.
make[1]: *** No rule to make target `install'.
make: *** [../lib/libtiff.a] Error 2
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/hd ~/ray/src
In directory hd...
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/x11.hdi rhdisp.o rhdisp2.o viewbeams.o \
rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrtrad -lX11 -lm
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_x11.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree2r.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_ctab.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cclUN4E9.out (No such file or directory)
make: *** [/usr/local/ray/dev/x11.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogl0.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cchJnNlF.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogl.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglo.hdi rhd_oglo.o rhdisp.o \
rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccyHgXk4.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglo.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogls.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccxXix3v.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogls.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglso.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cceIAJr8.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglso.hdi] Error 1
rm -f /usr/local/ray/dev/glx1.hdi
rm: /usr/local/ray/dev/glx1.hdi: Not a directory
make: *** [/usr/local/ray/dev/glx1.hdi] Error 1
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/util ~/ray/src
In directory util...
cp glrad /usr/local/ray
cp findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cal ~/ray/src
In directory cal...
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
There were some errors.

Add /usr/local/bin to the beginning of your execution path:
For C-shell users, put the following into ~/.cshrc
set path=( /usr/local/bin $path )
For Bourne shell users, put the following into $HOME/.profile
PATH=/usr/local/bin:$PATH
export PATH

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Dan.

I follow Rob's advice to install the precompiled binaries.
As a newby you won't have any advantage compiling on your
own (just trouble).

About your error messages: I believe you have to install
the 'rmake' tool as well. That's what the compile script
is based on and I don't think it comes with Mac OS X. Mine
is installed in /usr/local/bin which indicates I put it
there myself.

Reading through your error messages there are a lot of
errors from 'cp' usage. I think the script tries to copy
multiple files in a directory in '/usr/local' that does
not exist. You can try and create the directory '/usr/local/ray'
yourself and then run the script again.

hth,
Thomas

···

On 5 Aug 2008, at 15:04, Dan Fitzpatrick wrote:

Hi Further to this I have moved on a bit (I think) but now get error 64 occuring. Any idea what this is ? ( I have attached the shell history of teh install:

                RADIANCE 4.0a INSTALLATION

This script rebuilds all of the Radiance programs and installs
them on your system. You should read the file README before running
this script. You can type ^C (followed by return) at any time to abort.

You must first answer the following questions.

What is your preferred editor [vi]?
Where do you want the executables [/usr/local/bin]?
Current rmake command is:
#!/bin/sh

Standard shell startup configuration. Place

PATH="/usr/local/ray/bin:${PATH}
RAYPATH=".:/usr/local/ray/lib"

in your ~/.bash_profile file. Then set the command that's executed by
Terminal to "/bin/bash --login" (in "Preferences").

When you restart Terminal now you should have Radiance in your PATH.
Please adjust for your Radiance installation path and preferred shell and
read about the startup files in the man page. It's a bit more complicated on
Mac OS X but the man page reflects that.

And please delete the tail of a message if you're not referring to it any longer.

Thomas

···

On 5 Aug 2008, at 19:19, Dan Fitzpatrick wrote:

Hi Rob

I think I have sussed it now. I'm running an Intel. Trouble is now, I can't get the path et correctly. I have to type in the RAYPATH and path each time I start terminal to get radiance to work. Any ideas of what I need to do here?

type echo $RAYPATH
If you don't get anything, look for tshcrc in your home dir. (cd ~)
If you don't have one,
create a text file called tshcrc and put it in your home dir.
This is mine:

setenv PATH "${PATH}:/usr/X11R6/bin:/usr/local/bin:/usr/local/lib/yafray/:/opt/local/bin:/Library/Frameworks:~/
ImageMagick-6.0.7/bin"
setenv RAYPATH .:${HOME}:/usr/local/lib/ray
alias myrad 'cd ~/documents/radiance_stuff'
alias smith 'cd ~/documents/radiance_stuff/smith'
alias rview '/usr/local/bin/rview'
setenv DISPLAY localhost:0 ; setenv DYLD_LIBRARY_PATH

I have some aliases to get me to my radiance project files easily.

I barely know this stuff myself, so some others might have better advice.

Rob F

···

-----Original Message-----
From: [email protected] on behalf of Dan Fitzpatrick
Sent: Tue 8/5/2008 11:19 AM
To: [email protected]
Subject: RE: [Radiance-general] Mac osx install errors

Hi Rob

I think I have sussed it now. I'm running an Intel. Trouble is now, I can't get the path et correctly. I have to type in the RAYPATH and path each time I start terminal to get radiance to work. Any ideas of what I need to do here?

Dan

RE: [Radiance-general] Mac osx install errors
If you downloaded the binaries, you should not have to run makeall.
But you may need to copy all the .cal files into
/usr/local/lib/ray
Are you on a newer Intel Mac, or G4, G5 series?

Rob F

-----Original Message-----
From: [email protected] on behalf of Dan Fitzpatrick
Sent: Tue 8/5/2008 7:04 AM
To: [email protected]
Subject: RE: [Radiance-general] Mac osx install errors

Hi Further to this I have moved on a bit (I think) but now get error 64 occuring. Any idea what this is ? ( I have attached the shell history of teh install:

            RADIANCE 4\.0a INSTALLATION

This script rebuilds all of the Radiance programs and installs
them on your system. You should read the file README before running
this script. You can type ^C (followed by return) at any time to abort.

You must first answer the following questions.

What is your preferred editor [vi]?
Where do you want the executables [/usr/local/bin]?
Current rmake command is:
#!/bin/sh
exec make "SPECIAL=ogl" \
"OPT=-O2" \
"MACH=-arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk" \
ARCH=PowerPC "COMPAT=" \
INSTDIR=/usr/local/ray \
LIBDIR=/usr/local/lib/ray \
ESUFFIX= \
CC=cc CONFIGURE_ARCH=powerpc "$@" -f Rmakefile
Do you want to change it?
Making programs...
~/ray/src/common ~/ray/src
In directory common...
rm -f librtrad.a
ar rc librtrad.a cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o objset.o octree.o readfargs.o modobject.o getlibpath.o addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o tmap16bit.o bmpfile.o falsecolor.o fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o unix_process.o process.o gethomedir.o getpath.o error.o savestr.o savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o ealloc.o fdate.o portio.o myhostname.o
ranlib librtrad.a
rm -f librgl.a
ar rc librgl.a rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
ranlib librgl.a
mv -f librgl.a ../lib
mv -f librtrad.a ../lib
cd /usr/local/lib/ray && rm -f tmesh.cal
cp -f tmesh.cal /usr/local/lib/ray
~/ray/src
~/ray/src/rt ~/ray/src
In directory rt...
cp ./rtrace ./rpict ./rvu ./lookamb /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/meta ~/ray/src
In directory meta...
cp ./meta2tga ./pexpand ./psort ./cv ./psmeta ./plotin ./x11meta ./bgraph ./igraph ./dgraph ./gcomp ./plot4 ./meta2bmp /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cv ~/ray/src
In directory cv...
cp ies2rad arch2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/gen ~/ray/src
In directory gen...
cp genbox gensky xform genblinds genrev genworm gensurf genprism replmarks mkillum mksource genclock /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/ot ~/ray/src
In directory ot...
cp oconv getbbox obj2mesh /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/px ~/ray/src
In directory px...
cd tiff ; ./configure -C -quiet -with-CC=cc \
"--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \
--enable-static --disable-shared --disable-cxx \
--enable-logluv --disable-jpeg \
--disable-zlib --disable-pixarlog \
"-with-ENVOPTS=-O2" ; \
cd port ; make all ; \
cd ../libtiff ; make install
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
config.status: error: cannot find input file: contrib/Makefile.in
make[1]: *** No rule to make target `all'.
make[1]: *** No rule to make target `install'.
make: *** [../lib/libtiff.a] Error 2
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/hd ~/ray/src
In directory hd...
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/x11.hdi rhdisp.o rhdisp2.o viewbeams.o \
rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrtrad -lX11 -lm
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_x11.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_qtree2r.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_ctab.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cclUN4E9.out (No such file or directory)
make: *** [/usr/local/ray/dev/x11.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogl0.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cchJnNlF.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogl.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglo.hdi rhd_oglo.o rhdisp.o \
rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386

/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccyHgXk4.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglo.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_ogls.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//ccxXix3v.out (No such file or directory)
make: *** [/usr/local/ray/dev/ogls.hdi] Error 1
cc -I../common -L../lib -O2 -arch ppc -arch i386 -DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DDEVPATH=\"/usr/local/ray/dev\" -o /usr/local/ray/dev/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \
viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
-lrgl -lrtrad -lGLU -lGL -lX11 -lXext
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning rhd_oglso.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdisp2.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning viewbeams.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning holo.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_odraw.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhd_geom.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning rhdobj.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
/usr/bin/ld: warning ../lib/librgl.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: warning ../lib/librtrad.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteriv
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glPointParameteri used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
lipo: can't open input file: /var/tmp//cceIAJr8.out (No such file or directory)
make: *** [/usr/local/ray/dev/oglso.hdi] Error 1
rm -f /usr/local/ray/dev/glx1.hdi
rm: /usr/local/ray/dev/glx1.hdi: Not a directory
make: *** [/usr/local/ray/dev/glx1.hdi] Error 1
make: Target `install' not remade because of errors.
~/ray/src
~/ray/src/util ~/ray/src
In directory util...
cp glrad /usr/local/ray
cp findglare glarendx rpiece rad ranimate ranimove vwright getinfo vwrays xglaresrc rtcontrib rsensor /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
~/ray/src/cal ~/ray/src
In directory cal...
cp icalc ev rcalc total cnt neaten rlam tabfunc histo /usr/local/ray
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [install] Error 64
~/ray/src
There were some errors.

Add /usr/local/bin to the beginning of your execution path:
For C-shell users, put the following into ~/.cshrc
set path=( /usr/local/bin $path )
For Bourne shell users, put the following into $HOME/.profile
PATH=/usr/local/bin:$PATH
export PATH

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Greetings! Straight Noob here, attempting to revitalize an old ibook with os jaguar. I have been enjoying the past couple days learning some fundamental commands.
I seem to have a similar problem that which this thread was started on. Coming across something like this in the terminal after several errors.

Add /usr/local/bin to the beginning of your execution path:
For C-shell users, put the following into ~/.cshrc
        set path=( /usr/local/bin $path )
For Bourne shell users, put the following into $HOME/.profile
        PATH=/usr/local/bin:$PATH
        export PATH

I do not get anything for raypath or tshcrc. I am unfamiliar with setenv or alias. Admittedly, I have little idea of what I am doing up until this point and no idea what to do beyond this point.
Your help is appreciated.

Kevin

···

________________________________
"This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately by e-mail and delete the original message."

The Jaguar default shell is tcsh; you can put the C-shell commands in .tcshrc or .cshrc. If you upgrade to Panther, use the Bourne shell commands.

Randolph

···

On Jan 2, 2009, at 1:25 PM, Kevin Kyte wrote:

Greetings! Straight Noob here, attempting to revitalize an old ibook with os jaguar. I have been enjoying the past couple days learning some fundamental commands.
I seem to have a similar problem that which this thread was started on. Coming across something like this in the terminal after several errors.

Add /usr/local/bin to the beginning of your execution path:
For C-shell users, put the following into ~/.cshrc
        set path=( /usr/local/bin $path )
For Bourne shell users, put the following into $HOME/.profile
        PATH=/usr/local/bin:$PATH
        export PATH

I do not get anything for raypath or tshcrc. I am unfamiliar with setenv or alias. Admittedly, I have little idea of what I am doing up until this point and no idea what to do beyond this point.
Your help is appreciated.

Kevin

"This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately by e-mail and delete the original message.”
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general