From: Philip Blood (philb_at_hec.utah.edu)
Date: Fri Mar 02 2007 - 18:14:23 CST

Thanks John, that's it. I had compiled the latest version of Tcl for
the plugins a few months ago, but had neglected to put this where it
could be found for the next stage.

Phil

John Stone wrote:
> Hi,
> VMD requires Tcl 8.4.x, I believe that the error message you're
> getting is the result of compiling against Tcl 8.3.x. If you grab
> the latest version of Tcl 8.4.x, compile and install that somewhere
> on your system, and then compile VMD against that, you should be in
> business. Let us know if you need more help.
>
> Cheers,
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Fri, Mar 02, 2007 at 04:09:25PM -0700, Philip Blood wrote:
>
>> 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
>>
>
>