From: SourceForge.net <no...@so...> - 2011-02-15 07:52:13
|
Bugs item #3181878, was opened at 2011-02-15 08:52 Message generated for change (Tracker Item Submitted) made by mthuurne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 85. tclconfig Group: current: 8.5.9 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Maarten ter Huurne (mthuurne) Assigned to: Jeffrey Hobbs (hobbs) Summary: tclConfig.h not installed on Mac OS X Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 |
From: SourceForge.net <no...@so...> - 2011-02-15 09:43:09
|
Bugs item #3181878, was opened at 2011-02-15 07:52 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 85. tclconfig Group: current: 8.5.9 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Maarten ter Huurne (mthuurne) >Assigned to: Daniel A. Steffen (das) Summary: tclConfig.h not installed on Mac OS X Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2011-02-15 09:43 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 |
From: SourceForge.net <no...@so...> - 2011-02-15 09:50:27
|
Bugs item #3181878, was opened at 2011-02-14 23:52 Message generated for change (Comment added) made by das You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 85. tclconfig Group: current: 8.5.9 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Maarten ter Huurne (mthuurne) Assigned to: Daniel A. Steffen (das) Summary: tclConfig.h not installed on Mac OS X Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Daniel A. Steffen (das) Date: 2011-02-15 01:50 Message: 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. ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2011-02-15 01:43 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 |
From: SourceForge.net <no...@so...> - 2011-02-15 10:37:34
|
Bugs item #3181878, was opened at 2011-02-15 08:52 Message generated for change (Comment added) made by mthuurne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 85. tclconfig Group: current: 8.5.9 Status: Closed Resolution: Invalid Priority: 5 Private: No Submitted By: Maarten ter Huurne (mthuurne) Assigned to: Daniel A. Steffen (das) Summary: tclConfig.h not installed on Mac OS X Initial Comment: 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. ---------------------------------------------------------------------- Comment By: Maarten ter Huurne (mthuurne) Date: 2011-02-15 11:37 Message: @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. ---------------------------------------------------------------------- Comment By: Daniel A. Steffen (das) Date: 2011-02-15 10:50 Message: 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. ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2011-02-15 10:43 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3181878&group_id=10894 |