From: Philip Blood (philb_at_hec.utah.edu)
Date: Fri Mar 02 2007 - 17:09:25 CST

Hi,

I am trying to compile VMD 1.8.5 from the source code on SDSC Datastar
which runs AIX 5.2. I have successfully compiled plugins there thanks
to helpful tips on this list, but I have not read of anyone going
through the full VMD compilation. I use these options to configure:

./configure AIX5_64 OPENGL FLTK TK IMD TCL PTHREADS NETCDF LP64

And then run gmake in the src directory. Most of the source compiles,
but it fails here with this message:

xlC -O -q64 -qarch=com -qtune=pwr4 -D_H_ACCESS=1 -DARCH_AIX5_64
-DVMDOPENGL -DVMDGRAPHICS -DVMDIMD -DVMDTHREADS -DUSEPOSIXTHREADS
-D_REENTRANT -DVMDSURF -DVMDMSMS -DVMDVOLUMETEXTURE -DVMDTCL -DVMDTK
-DVMDSTATICPLUGINS -DVMDGUI -DVMDFLTK -I../lib/tcl/include
-I../lib/tk/include -I../plugins/include -I../plugins/AIX5_64/molfile
-I../lib/netcdf/include -I../lib/fltk/include -I. -c ColorInfo.C -o
../AIX5_64/ColorInfo.o
Compiling ColorInfo.C --> ColorInfo.o ...
"ColorInfo.C", line 153.32: 1540-0256 (S) A parameter of type "char *"
cannot be initialized with an expression of type "const char *".
"ColorInfo.C", line 153.32: 1540-1205 (I) The error occurred while
converting to parameter 2 of "Tcl_GetInt(Tcl_Interp *, char *, int *)".
gmake: *** [ColorInfo.o] Error 1

Any ideas?

Thanks,
Phil