Compiling Radiance

hi,
I was trying to compile the radiance software on a Sun. I am getting the
following errors

cc -I../common -L../lib -O -DSPEED=80 -DALIGN=double
-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO -DDCL_ATOF -DBIGMEM
-o normtiff normtiff.o -lrt -ltiff -lm
Undefined first referenced
symbol in file
uv_encode ../lib/librt.a(tmapluv.o)
uv_decode ../lib/librt.a(tmapluv.o)
ld: fatal: Symbol referencing errors. No output written to normtiff
*** Error code 1

···

------------------------------------------------------------------------------
csh -f tradinstall.csh /home/dtc/thadani/radiance/bin
/home/dtc/thadani/radiance/lib/tcl
Cannot find wish executable in current path -- trad not installed.
*** Error code 1

I am not installing radiance in the default locations but instead in my
home directory at ~/radiance/lib and ~/radiance/bin

I have set the LD_LIBRARY_PATH to include ~/radiance/lib
I have also set PATH to include ~/radiance/bin

I tried the ftp site radsite.lbl.gov but Access was denied, hence I could
not get the patches (as instructed in the README file).

Any suggestions as to what is going wrong here.
Any help will be greatly appreciated.

Thank You.
Navin Thadani.
Dept Of Computer Science & Engg
University of Minnesota-Twin Cities.

Regarding the Sun compilation problem, there is something wrong with the install script on Sun's that results in this failure. Here is an earlier digest entry on the topic:

···

Date: Sun, 31 Mar 2002 09:45:35 -0800
Cc: stephane <[email protected]>
Subject: [Radiance-general] Re: Compilation on Solaris 8

Hi Stephane,

You should generally ignore warning messages from the Radiance
compilations -- fatal errors and missing binaries are the real concern.
In the case of Solaris, there is a problem with the "install" program
used by the TIFF library, which I have not been able to manage to work
around. The reason that none of the picture processing tools got
installed was because of the failure in the src/px directory to make
ra_tiff and normtiff, which depend on the TIFF library.

The solution to this problem is to change to the src/px/tiff/libtiff
directory and run "make install", then manually move the libtiff.a
program to the ../../lib directory like so:

  mv libtiff.a ../../lib

Then, pop up to the px directory and rerun "rmake install" like so:

  rmake install

That should install the picture filters. I wish I knew how to fix the
TIFF library, but the install script is horribly complicated and uses
the Bourne shell, which is something of a mystery to me....

-Greg

Begin forwarded message:

Date: Thu, 27 Jun 2002 16:26:30 -0500 (CDT)
From: Navin Thadani <[email protected]>
Subject: [Radiance-dev] Compiling Radiance

hi,
I was trying to compile the radiance software on a Sun. I am getting the
following errors

cc -I../common -L../lib -O -DSPEED=80 -DALIGN=double
-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO -DDCL_ATOF -DBIGMEM
-o normtiff normtiff.o -lrt -ltiff -lm
Undefined first referenced
symbol in file
uv_encode ../lib/librt.a(tmapluv.o)
uv_decode ../lib/librt.a(tmapluv.o)
ld: fatal: Symbol referencing errors. No output written to normtiff
*** Error code 1

------------------------------------------------------------------------------
csh -f tradinstall.csh /home/dtc/thadani/radiance/bin
/home/dtc/thadani/radiance/lib/tcl
Cannot find wish executable in current path -- trad not installed.
*** Error code 1