From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Apr 03 2006 - 11:18:45 CDT

Hi,
  It looks like you've got a TCL_LIBRARY environment variable set outside
of the VMD startup scripts. This will interfere with VMD startup since VMD
will then try to use your special Tcl directory rather than the built-in one.
Try doing this (csh syntax):
  unsetenv TCL_LIBRARY
  vmd

Let me know if that cures the problem.

  John Stone
  vmd_at_ks.uiuc.edu
  

On Mon, Apr 03, 2006 at 06:27:38PM +0000, Shen wrote:
> Dear All,
>
> I tried to install vmd-1.8.3 on my debian-based PC. The installation process
> went well, with no error reports. But when I started vmd, it returned the
> following errors.
> =================================================================
> ERROR) Tcl startup error: Can't find a usable init.tcl in the following
> directories:
> ERROR) /usr/local/lib/tcl8.4 //z/i/鲰洵碲/糸/gl //z/
> i/鲰洵碲/糸/g.4 /躿.
> ERROR)
> ERROR)
> ERROR)
> ERROR) This probably means that Tcl wasn't installed properly.
> ERROR) Tk startup error: no display name and no $DISPLAY environment variable
> ERROR) Could not read the vmd initialization file -
> ERROR) source
> {/home/slz/Programs/vmd-1.8.4b11/installation/lib/vmd/scripts/vm
> d/vmdinit.tcl}
> ERROR) couldn't read file
> "/home/slz/Programs/vmd-1.8.4b11/installation/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) Error opening
> file /home/slz/Programs/vmd-1.8.4b11/installation/lib/vmd/.
> vmdrc
> ERROR) couldn't read file
> "/home/slz/Programs/vmd-1.8.4b11/installation/lib/vmd/
> scripts/vmd/vmdinit.tcl": no such file or directorycouldn't open
> "/home/slz/Prog
> rams/vmd-1.8.4b11/installation/lib/vmd/.vmdrc": no such file or directory
> ERROR) invalid command name "vmd_load_extension_packages"
> =========================================================================
>
> The unrecognizable charaters in the second line are also unreadable to me.
>
> I check the tcl installation. Both version 8.3 and 8.4 have been installed
> properly. I also can initialize tclsh with no problems.
>
> Could anyone offer some help on how to handle this problem? Many thanks.
>
> Sincerely,
>
> Longzhu Shen

-- 
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: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078