modules on cygwin
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Mark L. <la...@mi...> - 2002-03-12 20:21:38
|
I'm having trouble getting modules to run properly on Cygwin. I get this error if I try running 'modulecmd.exe sh' init.c(425):ERROR:159: Cannot initialize TCL I had this problem before on Solaris, and the work arounds were (1) Set TCL_LIBRARY or TCLLIBPATH (I can't remember which) to point to /usr/local/lib/tcl8.0 so that TCL can find init.tcl (2) Recompile TCL so that the paths are correct in the library. (actually, it was the sysadmin's fault for renaming a path incorrectly) However, I can't see anything wrong with the Cygwin TCL installation (although it is an old 8.0). From [info library] in the tclsh, i get C:/cygwin/usr/share/tcl8.0. If I set TCL_LIBRARY=C:/cygwin/usr/share/tcl8.0 export TCL_LIBRARY then it magically works. However, I would like this to work without the env var. Any ideas? -Mark Mark Lakata, Staff Engineer 1225 Charleston Road voice 650-567-5170 MIPS Technologies Mountain View CA 94043 fax 650-567-5002 |