Re: Can't find TclX
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Mark L. <la...@mi...> - 2002-05-09 22:47:12
|
Skipping to question #3, there is no "module" binary. There is only the "modulecmd" binary, and then there is a "module" alias which is defined in the various $MODULESHOME/init shell files. For instance, the csh alias is basically: alias module "eval `modulecmd $*`" (sloppy syntax, but the gist of the matter). Regarding TclX, i'm not sure what the advantage of tclx is. I don't use it, but maybe I'm missing something. -Mark > I have three questions: > > Question 1: > =========== > Where do you get TclX? > Their old download site doesn't work. > ftp://ftp.neosoft.com/pub/tcl/TclX/ > and neither does the Sourceforge download site > http://sourceforge.net/projects/tclx > http://sourceforge.net/project/showfiles.php?group_id=13247 > > Question 2: > =========== > What's the "correct" version of TclX to use? > > When I try to use TclX-8.0.2 I get the following error: > # make > gcc -o modulecmd -L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib > -R/usr/openwin/lib:/usr/local/lib -g ModuleCmd_Avail.o ModuleCmd_Clear.o > ModuleCmd_Display.o ModuleCmd_Help.o ModuleCmd_Init.o ModuleCmd_List.o > ModuleCmd_Load.o ModuleCmd_Purge.o ModuleCmd_Switch.o ModuleCmd_Update.o > ModuleCmd_Use.o ModuleCmd_Whatis.o cmdAlias.o cmdConflict.o cmdIsLoaded.o > cmdInfo.o cmdMisc.o cmdModule.o cmdPath.o cmdSetenv.o cmdUname.o > cmdXResource.o cmdUlvl.o cmdLog.o cmdTrace.o cmdVersion.o cmdVerbose.o > cmdWhatis.o init.o locate_module.o utility.o main.o error.o getopt.o > version.o -ltcl8.3 -ltclx -lXmu -lXt -lX11 -lXext -ldl -lm -lnsl -lsocket > Undefined first referenced > symbol in file > panic /usr/local/lib/libtclx.a(tclXdup.o) > TclWordEnd /usr/local/lib/libtclx.a(tclXcmdloop.o) > TclGetRegError /usr/local/lib/libtclx.a(tclXregexp.o) > TclRegComp /usr/local/lib/libtclx.a(tclXregexp.o) > TclRegExec /usr/local/lib/libtclx.a(tclXregexp.o) > ld: fatal: Symbol referencing errors. No output written to modulecmd > collect2: ld returned 1 exit status > make: *** [modulecmd] Error 1 > > Question 3: > =========== > I can compile without TclX, but then I don't get the > interface "module" (the main command). I have "modulecmd" > but not "module". Is this interface command dependent on TclX? > > Thanks, > > Paul > > > > |