[Xotcl] NX on windows

Gustaf Neumann neumann at wu.ac.at
Fri Jul 27 12:32:20 CEST 2012


On 26.07.12 21:34, Rene Zaumseil wrote:
> Get msys/mingw with the default installer
> http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-
> get-inst/mingw-get-inst-20110211/mingw-get-inst-20110211.exe
> and selected also g++, msys, and tools.
>
> Then get kbs.tcl from
>    http://sourceforge.net/projects/kbskit/files/
>
> Put it in a directory and run:
>    ./kbs.tcl -r install kbskit8.5 nsf2.0
> If everything works you can find the lib under directory build*/
>
> Or to get a interpreter containing nsf run:
>    ./kbs.tcl -r -bi=nsf2.0 -vq-bi install kbskit8.5
>
> Hope this works.

Short feedback (being a win-dummy).

- i installed win7 in a vbox

- downloaded mingw+msys via
http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/
   (the most popular one, newer than what you wrote)

- set up the environment variable to contain path to 
mingw/bin and msys/bin

- started a console, but had to write "bash kbs.tcl ..." 
instead of "./kbs.tcl ..."
   (maybe one one setup required)

- got an error that wget is not installed;
   installed wget, added GnuWin32/bin to the path

The compilation of tcl ran into the following problem (the 
fetched tcl version is 8.5.11).
Does one have to install the "20110211" version of mingw? is 
there a configure problem
on win7?

-gn


Y:\win\kbs\MINGW32_NT-6.1\tcl>make
gcc -c -O2 -fomit-frame-pointer -Wall  -I"../../sources/tcl8.5/win/../generic" -DTCL_TOMMATH -DMP_PREC=4 -I"../../sources/tcl8.5/win/../libtommath"
-I"../../sources/tcl8.5/win" -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_ALLOCA_GCC_INLINE=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_NO_STRUCT_STAT32I64=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -DSTATIC_BUILD=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1   -DBUILD_tcl "../../sources/tcl8.5/win/../generic/regcomp.c" -o regcomp.o
In file included from ../../sources/tcl8.5/win/../generic/regguts.h:36:0,
                  from ../../sources/tcl8.5/win/../generic/regcomp.c:33:
../../sources/tcl8.5/win/../generic/regcustom.h:33:20: error: ../../sources/tcl8.5/win/../generic/tclInt.h: Invalid argument
../../sources/tcl8.5/win/../generic/regcustom.h:93:1: error: unknown type name 'Tcl_UniChar'
In file included from ../../sources/tcl8.5/win/../generic/regcustom.h:161:0,
                  from ../../sources/tcl8.5/win/../generic/regguts.h:36,
                  from ../../sources/tcl8.5/win/../generic/regcomp.c:33:
../../sources/tcl8.5/win/../generic/regex.h:138:1: error: unknown type name 'VOID'
../../sources/tcl8.5/win/../generic/regex.h:160:5: error: unknown type name 'size_t'
../../sources/tcl8.5/win/../generic/regex.h:298:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'



More information about the Xotcl mailing list