From: Prabhakar Reddy Gudla (reddyg_at_Glue.umd.edu)
Date: Fri May 02 2003 - 00:45:53 CDT

Hi list,

I am trying to custom built VMD 1.8 from source on SUN Solaris 2.6 on
Ultra10. So far I have be able to:
* compile plugins w/o problems/errors
* 'make depend' in $VMD/src goes smoothly w/o any errors (few warnings abt
undef in python header files)

I am compiling for the following options:
SOLARIS2 OPENGL FLTKOPENGL ACTC FLTK TK IMD LIBTACHYON TCL PYTHON PTHREADS
SILENT

The error i get is:

Compiling LibTachyonDisplayDevice.C --> LibTachyonDisplayDevice.o ...
"LibTachyonDisplayDevice.C", line 285: Error: RT_PROJECTION_ORTHOGRAPHIC is not defined.
"LibTachyonDisplayDevice.C", line 286: Error: The function "rt_camera_setup" must have a prototype.
"LibTachyonDisplayDevice.C", line 298: Error: RT_PROJECTION_PERSPECTIVE is not defined.
"LibTachyonDisplayDevice.C", line 299: Error: The function "rt_camera_setup" must have a prototype.
"LibTachyonDisplayDevice.C", line 325: Error: The function "rt_directional_light" must have a prototype.
5 Error(s) detected.
*** Error code 5
The following command caused the error:
echo "Compiling " LibTachyonDisplayDevice.C " --> " LibTachyonDisplayDevice.o " ..."; \
CC -D__EXTENSIONS__ -mt -fast -xO3 -native -xarch=v8plusa -D"sqrtf=sqrt" -D"cosf=cos" -D"sinf=sin" -D"fabsf=fabs" -D"acosf=acos" -DARCH_SOLARIS2 -DVMDOPENGL -DVMDGRAPHICS -DVMDOPENGL -DVMDFLTKOPENGL -DVMDGRAPHICS -DVMDACTC -DVMDIMD -DVMDLIBTACHYON -DVMDPYTHON -DVMDTHREADS -DUSEPOSIXTHREADS -D_REENTRANT -DVMDSURF -DVMDMSMS -DVMDISOSURFACE -DVMDTCL -DVMDTK -DVMDSTATICPLUGINS -DVMDGUI -DVMDFLTK -I/usr/openwin/include -I../lib/actc -I../lib/tachyon/src -I/usr/local/python/2.2/include/python2.2 -I/usr/local/tcl/include -I../plugins/include -I../plugins/compile/lib_SOLARIS2/molfile -I/usr/include -I../lib/fltk/include -I. -c LibTachyonDisplayDevice.C -o ../SOLARIS2/LibTachyonDisplayDevice.o
make: Fatal error: Command failed for target `LibTachyonDisplayDevice.o'

I have checked LibTachyonDispalyDevice.C (and it's correpsonding header
file) and the above parameters were not declared anywhere. Any help ?

I tried running the precompiled binaries but it complains about
'librt.so.1' missing. So I tried on Solaris 2.7 machine which had
librt.so.1 but same errors as above. When I tried on 2.8 machine 'vmd
--help' gave the following error:

ld.so.1: /homes/sekhar/reddyg/vmd/lib/vmd_SOLARIS2: fatal: relocation
error: file /homes/sekhar/reddyg/vmd/lib/vmd_SOLARIS2: symbol
sunOglCurrentContext: referenced symbol not found
Killed

-------------------------------------------------------------------------------
Prabhakar Reddy Gudla
Doctoral Candidate

Model Analysis Lab
Biological Resources Engineering
University of Maryland
College Park, MD, 20742.

tel: 301-405-0109 (o)
   : 301-982-7148 (r)
fax: 301-314-9023

email: reddyg at umd dot edu
-------------------------------------------------------------------------------