From: Sabuj Pattanayek (sabuj.pattanayek_at_Vanderbilt.Edu)
Date: Wed Mar 09 2005 - 12:41:13 CST

Hi,

I get this error when I start vmd 1.8.3 (you have to run
/path/to/vmd/vmd_LINUX since just running the vmd script opens a window
and it closes immediately):

ERROR) Tcl startup error: Can't find a usable init.tcl in the following
directories:
ERROR) /usr/local/lib/tcl8.4 /usr/local/sbin/lib/tcl8.4
/usr/local/lib/tcl8.4 /usr/local/sbin/library /usr/local/library
/usr/local/tcl8.4.1/library /usr/tcl8.4.1/library /usr/local/lib/tcl8.4
ERROR)
ERROR)
ERROR)
ERROR) This probably means that Tcl wasn't installed properly.
ERROR) Tk startup error: invalid command name "tcl_findLibrary"
ERROR) VMDDIR undefined, startup failure likely.
ERROR) Could not read the vmd initialization file -
ERROR) source {/usr/local/lib/vmd/scripts/vmd/vmdinit.tcl}
ERROR) couldn't read file "/usr/local/lib/vmd/scripts/vmd/vmdinit.tcl":
no such file or directory
ERROR) The VMDDIR environment variable is set by the startup
ERROR) script and should point to the top of the VMD hierarchy.
ERROR) VMD will continue with limited functionality.
ERROR) invalid command name "vmd_load_extension_packages"

I installed it according to the instructions (remove old vmd
installtion; modify configure, run ./configure, and cd src; make
install). Just to make sure there isn't anything wrong with the system I
did a fresh install of vmd 1.8.2 and it works. The vmd 1.8.3 script has:

set defaultvmddir=/usr/local/sbin/vmd
set vmdbasename=vmd

slocate init.tcl

/usr/lib/tcl8.4/init.tcl
/usr/local/sbin/vmd/scripts/vmd/vmdinit.tcl
/usr/local/sbin/vmd/scripts/tcl8.4/init.tcl
/usr/local/sbin/pymol/ext/lib/tcl8.4/init.tcl
/usr/local/sbin/chimera1.2065/lib/tcl8.4/init.tcl
/usr/local/sbin/ac3dlx/lib/tcl8.4/init.tcl
/root/vmd-1.8.2/lib/scripts/tcl8.4/init.tcl
/root/vmd-1.8.2/scripts/vmd/vmdinit.tcl
/root/vmd-1.8.3/lib/scripts/tcl8.4/init.tcl
/root/vmd-1.8.3/scripts/vmd/vmdinit.tcl

Thanks,
Sabuj Pattanayek