From: John Stone (
Date: Mon Aug 04 2003 - 14:34:24 CDT

Hi Shantenu,
  Are you sure you want to compile VMD from source?
Is there any particular reason you can't run the binaries we provide
on the web site?

If so, then you'll need to first:
  - compile all of the plugins from source code, and then make a symlink
    to the installed plugin directory. (the directory that unpacks with
    the VMD source distrib is the source code, you still need to compile
    these, or at least run 'make distrib' once you've setup the target

  - compile and install Tcl/Tk 8.4.x (you're using 8.3.x which is the source
    of the compile error you're getting below)

  - compile and install all of the other libraries VMD needs, FLTK, etc..

Anyway, unless you need to compile from source for some specific
reason, I'd recommend using one fo the binaries we provide...

I'm working on updating our source code compilation instructions
on the web now that I'm back from Siggraph:

  John Stone

On Mon, Aug 04, 2003 at 08:25:20PM +0100, Shantenu Jha wrote:
> John,
> Trust you're doing fine.
> I'm trying to compile VMD (1.8.1) on a linux platform from souce.
> My configure.options are LINUX IMD TCL
> and then go to /src and do make .
> However my compilation fails due to the following:
> Compiling ColorInfo.C --> ColorInfo.o ...
> ColorInfo.C: In function `int tcl_colorinfo_rgb (Tcl_Interp *, VMDApp
> *, int, const char **)':
> ColorInfo.C:156: cannot convert `const char *' to `char *' for argument
> `2' to `Tcl_GetInt (Tcl_Interp *, char *, int *)'
> make: *** [ColorInfo.o] Error 1
> Any suggestions? Trivial changes like changing decalaration of the
> function aren't really possible.
> I should also point out the following:
> - Makefile generated requires the plugin dir to be immediately above src,
> but the default ouput on untarring the source ball places it two
> directories above.
> - Also needed to do:
> mv ../plugins/compile/lib_LINUX/ ../plugins/LINUX
> Am I doing something stupid? Or is this a problem with the available
> source code.
> Thanks.
> Regards,
> Shantenu
> --
> --Shantenu Jha, Research Fellow
> Centre for Computational Science
> University College London (UCL)
> 020-7679-5300 PGP Key ID 0x78F823E6

NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email:                 Phone: 217-244-3349              
  WWW:      Fax: 217-244-6078