On 2017-07-15, EL <
elehm...@gmail.com> wrote:
> Am 15.07.2017 um 12:20 schrieb Eric:
>
>> I have just fetched the latest TEA sample and tclconfig from the Fossil
>> repositories at
core.tcl.tk, put the tclconfig in place, and run
>> configure (no options), and I _do_ get a Makefile with -DUSE_TCL_STUBS=1
>> in it.
>>
>> So what do you have, or what are you doing, that is different?
>
> I fetched the latest trunk commit from tclconfig as well, and it still
> didn't work for me.
Do you have the latest from sampleextension as well?
Did you run configure without editing
configure.ac or Makefile.in and
without running autoconf?
If both answers are yes, then it seems that the same configure script
behaves differently on macOS to how it behaves on Linux.
> What I do differently, maybe, is that I tried to build it on macOS
> (sierra), with the toolchain that comes with xcode. It works for me on
> Linux, though.
The version of autoconf in that toolchain may also be a factor.
>
> The README in
core.tcl.tk/sampleextension still mentions the tclconfig/
> directory as part of it, and I don't see a hint somewhere that this
> directory is now managed in a separate repository. Obviously I couldn't
> know this... the last time I actively used the sample extension was
> about a decade ago, back then it contained everything and was hosted on
> sourceforge.
The README definitely needs updating, as does the documentation in the
tea subdirectory of sampleextension. There is a tclconfig page in the
wiki which points out the separate repository (
http://wiki.tcl.tk/8511)
and it's mentioned in other places in the wiki.
(BTW the Changelog in sampleextension is also out of date.)