From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Apr 04 2006 - 14:43:58 CDT

Hi,
  Hmm. Did you install VMD according to the instructions in the
README file? (edit configure script; ./configure; cd src; make install; etc)
The other possibility for this sort of problem would be file permissions on
the installation directories. Take a look at all of that and let me know if
you're still having trouble getting things going.

  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Apr 04, 2006 at 10:57:12AM +0000, Shen wrote:
> On Monday 03 April 2006 16:18, John Stone wrote:
>
> Dear Stone,
>
> It seemed not work. My default login environment is bash. So I changed to csh
> and tapped the two commands you provided. It returned the same errors as
> before. I also echo $TCL_LIBRARY, but no value returned. I am afraid that I
> did not have such variable defined.
>
> sincerely,
>
> Longzhu Shen
>
> > 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