I try to compile fossil with FOSSIL_ENABLE_TCL support. Build environment is mingw/msys on XP sp3. Build is based on fossil 75dcdd0bdb. If I build my version without TCL support it works nicely.
When I turn TCL related switches on (FOSSIL_ENABLE_TH1_HOOKS=1 FOSSIL_ENABLE_TCL=1; FOSSIL_TCL_SOURCE = 1 is defined) it builds fossil.exe but TCL support seems to be somewhat broken. It reports error "TH_ERROR: Tcl initialization error: Can't find a usable init.tcl ..." on fossil version -v command, please see details bellow. I used tcl862-src.zip from http://cznic.dl.sourceforge.net/project/tcl/Tcl/8.6.2/tcl862-src.zip which was copied to fossil's compat directory. In compat directory I tried both ways - overwrite fossil compat files with files from tcl862-src.zip or - overwrite tcl862-src.zip files with fossil's compat files The resulting exe always reported "TH_ERROR: Tcl initialization error: Can't find a usable init.tcl ..." error. With TCL sources I did just ./configure --enable-shared=no make What I might overlook? Could you recommend how to troubleshoot/fix this? Thanks Peter --fossil extended version information fossil.exe ver -v This is fossil version 1.30 [cc4bac1221] 2014-08-31 23:04:30 UTC Compiled on Sep 1 2014 07:03:02 using mingw32-3.20-gcc-4.8.1 (32-bit) SQLite 3.8.6 2014-08-15 11:46:33 9491ba7d73 Schema version 2011-04-25 19:50 zlib 1.2.8, loaded 1.2.8 SSL (OpenSSL 1.0.0e 6 Sep 2011) TH1_HOOKS TCL (Tcl 8.6.0, loaded TH_ERROR: Tcl initialization error: Can't find a usable init.tcl in the following directories: c:/soft/msys/home/user/lib/tcl8.6 c:/soft/msys/home/user/lib/tcl8.6 c:/soft/msys/home/lib/tcl8.6 c:/soft/msys/home/user/library c:/soft/msys/home/lib rary c:/soft/msys/home/tcl8.6.0/library c:/soft/msys/tcl8.6.0/library This probably means that Tcl wasn't installed properly. ) JSON (API 20120713) -- switches DBROKEN_MINGW_CMDLINE=1 -DFOSSIL_ENABLE_SSL=1 -DFOSSIL_ENABLE_TH1_HOOKS=1 -DFOSSIL_ENABLE_TCL=1 -DSTATIC_BUILD -DFOSSIL_ENABLE_JSON=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users