Overview
Artifact ID: | 28cea38a2f9f5cf91119c66d77d48c35cafa1cfa |
---|---|
Ticket: | 878ab2fa0417e29b47723c97fd6f69d439d14a58
-DUSE_TCL_STUBS=1 not in CPPFLAGS on Mac OSX |
User & Date: | anonymous 2017-06-30 20:03:25 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
I tried to compile an extension based on the sampleextension on Mac OSX. With both, the ActiveTcl installation with tclConfig.sh in /Library/Frameworks/Tcl.framework/tclConfig.sh and the MacPorts installation in /opt/local/lib/tclConfig.sh there is a problem with -DUSE_TCL_STUBS. The flag is not set automatically in CPPFLAGS, when no extra arguments are given to ./configure. This is inconsistent, because the linker flag is -ltclstub8.6 - thus no linking is possible for extensions. When I work around it by adding -DUSE_TCL_STUBS=1 to the CPPFLAGS in Makefile.in, it works. I guess the expected behaviour would be that it is added automatically by autoconf / ./configure, as it is on Linux...
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "a3f08bcfe0d7e172d8d82cc61b2d7ce1036b1158"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "-DUSE_TCL_STUBS=1 not in CPPFLAGS on Mac OSX"
- type changed to: "Bug"