Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-17 Thread Joe Mistachkin
Perhaps they are "customizing" the Tcl library in some way that is fundamentally incompatible, e.g. changing some fundamental data type, like int to size_t? Jan Nijtmans might know more about what the various Linux distributions are doing. Sent from my iPhone https://urn.to/r/mistachkin _

Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-17 Thread Ryan Dingman
As it turns out, Fossil didn’t really have Tcl enabled when I was running my TH1 test script. Running “fossil version -v” forces the Tcl interpreter to load and thus reports that the Tcl interpreter is loaded along with its version. However, when I run a test script with "fossil test-th-source

Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-16 Thread Ryan Dingman
Correction, aside from the case where Fossil doesn’t build at all because I’m trying to link it against a from source statically built copy of libtcl, all other scenarios I’ve outlined use Tcl obtained from running: sudo apt-get install libtcl8.6 > On Mar 16, 2017, at 7:55 PM, Ryan Dingman wr

Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-16 Thread Ryan Dingman
> On Mar 16, 2017, at 7:03 PM, Joe Mistachkin wrote: > > > How was the Tcl library built? In the case where Fossil builds successfully as a statically linked binary and then crashes, the Tcl library used is one that gets installed via: sudo apt-get install libtcl8.6 So, I don’t know precise

Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-16 Thread Joe Mistachkin
How was the Tcl library built? Are you able to step through Fossil in gdb to see why tclInvoke is not getting added to the TH1 interpreter? Sent from my iPhone https://urn.to/r/mistachkin ___ fossil-users mailing list fossil-users@lists.fossil-scm.o

Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-16 Thread Ryan Dingman
> On Mar 16, 2017, at 6:34 PM, Joe Mistachkin wrote: > > > That's really odd. I've run Tcl-enabled Fossil on multiple flavors of Linux, > both statically and dynamically linked to Tcl and never seen this crash or > failure. > > It should be noted that simply using "fossil version --verbose"

Re: [fossil-users] Help with Fossil and Tcl integration

2017-03-16 Thread Joe Mistachkin
That's really odd. I've run Tcl-enabled Fossil on multiple flavors of Linux, both statically and dynamically linked to Tcl and never seen this crash or failure. It should be noted that simply using "fossil version --verbose" actually loads and uses Tcl from TH1 (and that appears to work on yo

[fossil-users] Help with Fossil and Tcl integration

2017-03-16 Thread Ryan Dingman
I’m having trouble with Fossil and Tcl integration. At a high level, I have two main problems: Problem 1. When I configure Fossil to build as a dynamically linked binary, the build succeeds and loads the Tcl library. However, when I run a TH1 script that uses a command requiring Tcl integration