Re: [fossil-users] TH_ERROR Can't find a usable init.tcl

2014-09-01 Thread Jan Nijtmans
2014-09-01 7:58 GMT+02:00 Petr Ferdus petr...@centrum.cz: 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

Re: [fossil-users] TH_ERROR Can't find a usable init.tcl

2014-09-01 Thread Petr Ferdus
Jan Nijtmans jan.nijtm...@gmail.com Whenever I build fossil with Tcl support, I always use FOSSIL_ENABLE_TCL=1, FOSSIL_ENABLE_TCL_STUBS = 1, FOSSIL_ENABLE_TCL_PRIVATE_STUBS = 1. Hello Jan, thank you for the tip. I would much prefer static solution, which would be more in fossil way of one

Re: [fossil-users] TH_ERROR Can't find a usable init.tcl

2014-09-01 Thread Petr Ferdus
Datum: 01.09.2014 13:10 Od: Jan Nijtmans jan.nijtm...@gmail.com No, FOSSIL_TCL_SOURCE means that fossil expects Tcl to be installed in the indicated directory. libtcl8.x.a will be included statically inside fossil, but the other files (such as init.tcl) will not be part of fossil. To me it is not

Re: [fossil-users] TH_ERROR Can't find a usable init.tcl

2014-09-01 Thread Joe Mistachkin
Petr Ferdus wrote: Does it mean, that to build chrooted version of fossil one must omit FOSSIL_TCL_SOURCE (that would be my misundestandin)? With unix build, will chrooted version containg TCL start-up code? (I can't test it) Should not the same happen for windows build? I would like to

Re: [fossil-users] TH_ERROR Can't find a usable init.tcl

2014-09-01 Thread Petr Ferdus
Joe Mistachkin sql...@mistachkin.com No. There are three primary concerns in order to build Fossil with Tcl integration enabled and make use of it at runtime: 1. Locating the necessary Tcl header file(s) at compile-time. Currently, this is handled several different ways, depending on the

Re: [fossil-users] TH_ERROR Can't find a usable init.tcl

2014-09-01 Thread Joe Mistachkin
Petr Ferdus wrote: Thank you Joe for clarifications and your Unix-like system setup recipe. I'll try to absorb it and use it. Meanwhile it seem that my simple idea of fossil on windows with embedded tcl as a single exe is not that easy as it seems. I have found notes from drh dated 2005

[fossil-users] TH_ERROR Can't find a usable init.tcl

2014-08-31 Thread Petr Ferdus
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;