From: Shen (lzshen_at_emails.bjut.edu.cn)
Date: Tue Apr 04 2006 - 05:57:12 CDT

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/鲰洵碲¹/è½ç³¸é/²°æµg¿¥l
> > /ç¤/ç®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