Modules 3.1.0 on Cygwin
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Peter N. <pet...@le...> - 2000-09-06 09:52:00
|
Hi, has anyone tried to get modules going under Cygwin? I have the following version: uname -a CYGWIN_NT-5.0 LENTUS 1.1.4(0.26/3/2) 2000-08-03 20:53 i686 unknown I made a try but didn't succeed. Yesterday I fetched all the neccesary rpm/tcl stuff from http://cygwin.cjb.net/ and installed the tcltk-8.3.1-cygwin.1.1.rpm Then I ran ------------- #!/bin/sh os=`uname` CFLAGS=-g LDFLAGS=-g CC=gcc export CFLAGS LDFLAGS CC TCLTKROOT=/usr/local export TCLTKROOT ./configure \ --prefix=/usr/local/development/Modules/$os/@VERSION@ \ --with-module-path=/usr/local/development/Modules/$os/modulefiles \ --with-version-path=/usr/local/development/Modules/$os/versions \ --with-tcl-version=8.3 \ --with-tcl-include=$TCLTKROOT/include \ --with-tcl-libraries=$TCLTKROOT/lib ----------------- (See log from configure at the end of the mail) next I ran make and got an error: can't find -ltcl so I made a copy cp /usr/local/libtcl83.a /usr/local/lib/libtcl.a Now make and make install succeeded. (see log from make at the end of the mail) next I sourced the ... init/bash file. When I now run module help I get the following output: init.c(420):ERROR:159: Cannot initialize TCL Does anyone know how to get any further? Should I have other options to configure? Best regards, Peter ---------------------------------------------------------------- Log from configure: loading cache ./config.cache VERSION = 3.1.0 DATE = 30JUN00 configuring for Modules 3.1.0 30JUN00 DEFAULTPATH = /usr/local/development/Modules/CYGWIN_NT-5.0/default BASEPREFIX = /usr/local/development/Modules/CYGWIN_NT-5.0/ checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -g) works... yes checking whether the C compiler (gcc -g -g) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -g) works... yes checking whether the C compiler (gcc -g -g) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... (cached) no checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for uname... (cached) /usr/bin/uname checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for termio.h... (cached) yes checking for fcntl.h... (cached) yes checking for ctype.h... (cached) yes checking for stdarg.h... (cached) yes checking for varargs.h... (cached) yes checking for syslog.h... (cached) yes checking for errno.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/termios.h... (cached) yes checking for sys/mode.h... (cached) no checking for sys/stat.h... (cached) yes checking for sys/param.h... (cached) yes checking for size_t... (cached) yes checking for working const... (cached) yes checking for X... (cached) no checking for socket in -lsocket... (cached) no checking for t_accept in -lnsl... (cached) no checking for strdup... (cached) yes checking for strtok... (cached) yes checking for uname... (cached) yes checking for gethostname... (cached) yes checking for getdomainname... (cached) yes checking for tempnam... (cached) yes checking for tmpnam... (cached) yes checking for syslog... (cached) yes checking for dup2... (cached) yes checking for cpp... (cached) gcc -E checking for hostname... (cached) /usr/bin/hostname checking for runtest... (cached) /usr/bin/runtest checking for log in -lm... (cached) yes checking for dlopen in -ldl... (cached) no checking for tcl... (cached) version 8.3; libraries /usr/local/lib; headers /usr/local/include MODULEPATH = /usr/local/development/Modules/CYGWIN_NT-5.0/modulefiles VERSIONPATH = /usr/local/development/Modules/CYGWIN_NT-5.0/versions updating cache ./config.cache creating ./config.status creating Makefile creating modules.lsm creating .spec creating doc/Makefile creating init/Makefile creating init/bash creating init/csh creating init/ksh creating init/perl creating init/sh creating init/tcsh creating init/zsh creating init/.modulespath creating doc/module.1 creating doc/modulefile.4 creating etc/Makefile creating etc/add.modules creating etc/mkroot creating etc/skel/.cshrc creating etc/skel/.login creating etc/skel/.kshenv creating etc/skel/.profile creating etc/global/csh.login creating etc/global/csh.modules creating etc/global/profile creating etc/global/profile.modules creating ext/Makefile creating ext/add.ext creating ext/common/.cshrc creating ext/common/.login creating ext/common/.kshenv creating ext/common/.profile creating modulefiles/Makefile creating modulefiles/modules creating modulefiles/module-info creating modulefiles/null creating modulefiles/use.own creating modulefiles/dot creating modulefiles/version creating testsuite/modules.00-init/015-version.exp creating testsuite/modules.50-cmds/100-loglevel.exp creating config.h ---------------------------- Log from make: gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Avail.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Clear.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Display.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Help.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Init.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_List.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Load.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Purge.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Switch.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Update.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Use.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" ModuleCmd_Whatis.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdAlias.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdConflict.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdIsLoaded.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdInfo.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdMisc.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdModule.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdPath.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdSetenv.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdUname.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdXResource.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdUlvl.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdLog.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdTrace.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdVersion.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdVerbose.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" cmdWhatis.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" init.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" locate_module.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" utility.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" main.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" error.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" getopt.c gcc -c -I.. -I. -I/usr/local/include -g -DINSTPATH=\"/usr/local/development/Modules/CYGWIN_NT-5.0/3.1.0\" version.c gcc -o modulecmd -L/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 -ltcl -lm |