Artifacts Associated With Ticket 3181878
Ticket change [1bdc84555c] (rid 123220) by mthuurne on 2011-02-15 07:52:12:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Platform: Mac OS X, 10.4/10.5/10.6 In older Tcl versions, the TCL_DEFS variable in tclConfig.sh contained the full list of #defines. In recent versions, TCL_DEFS instead refers to tclConfig.h using the "-imacros" option of GCC: TCL_DEFS='-DHAVE_TCL_CONFIG_H -imacros tclConfig.h' The problem is that tclConfig.h is listed as a private header and therefore not installed by default. This breaks compilation of a program against libtcl when the default installation options were used.
- foundin initialized to: "obsolete: 8.5.9"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mthuurne"
- subsystem initialized to: "85. tclconfig"
- title initialized to: "tclConfig.h not installed on Mac OS X"
- type initialized to: "Bug"
Ticket change [8f89f5e089] (rid 120285) by dkf on 2011-02-15 16:43:08:
- assignee changed to: "das"
- icomment:
It should be noted here that it's not been recommended to use TCL_DEFS for some time; they represent Tcl's build configuration, not some extension's. That said, it used to work (at least somewhat) so this is a regression.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [184a13a4f3] (rid 122635) by das on 2011-02-15 16:50:25:
- closedate changed to: "2011-02-15T09:50:25"
- closer changed to: "das"
- icomment:
This only happens when you use the incorrect buildsystem, specifically the configure in macosx. This enables use autoheader-generated tclConfig.h and is only there to support building tcltest from the Xcode project for debugging. Please follow the instructions in tcl/macosx/README on how to build, i.e. either use macosx/GNUmakefile or the unix/configure directly.
- login: "das"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "das"
Ticket change [05386605ec] (rid 89019) by mthuurne on 2011-02-15 17:37:33:
- icomment:
@das: Indeed the problem does not occur when using the "unix" configure instead of the "macosx" one, as TCL_DEFS does not refer to tclConfig.h then. Thanks for the suggestion. @dkf: I'm not compiling an extension, I'm compiling a program that embeds the Tcl interpreter. It is unclear to me exactly which variables I should use for that and I haven't been able to find any relevant documentation. Currently I'm using TCL_DEFS and TCL_INCLUDE_SPEC. If that is wrong, please tell me what I should use instead or point me to the docs.
- login: "mthuurne"
- mimetype: "text/plain"
- username: "mthuurne"
- icomment: