Opened 12 years ago
Closed 12 years ago
#37816 closed defect (fixed)
zebra @2.0.50_0 build fails: error: 'Tcl_Interp' has no member named 'errorLine' or 'result'
Reported by: | jigme.datse@… | Owned by: | coateconnection (David Coate) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | zebra |
Description
When trying to build zebra the command fails I'm really not sure what more to say. I've tried to clean and rebuild. It seems to fail at the same place no matter what I do. It looks like it installs it as a binary, but that fails, then it installs from source. I don't know if something in the configuration process isn't working correctly.
Attachments (2)
Change History (4)
Changed 12 years ago by jigme.datse@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to dlc@… |
Port: | zebra added |
Summary: | zebra @2.0.50_0 +Build Fails: command execution failed → zebra @2.0.50_0 build fails: error: 'Tcl_Interp' has no member named 'errorLine' or 'result' |
It's an incompatibility with Tcl 8.6:
:info:build mod_grs_regx.c: In function 'execTcl': :info:build mod_grs_regx.c:1304: error: 'Tcl_Interp' has no member named 'errorLine' :info:build mod_grs_regx.c:1305: error: 'Tcl_Interp' has no member named 'result' :info:build make[1]: *** [mod_grs_regx.lo] Error 1
The workaround we've used in many ports already is to add -DUSE_INTERP_ERRORLINE
and -DUSE_INTERP_RESULT
to CPPFLAGS
, but this problem must be reported to the developers so that they can fix their code to work with Tcl 8.6 without this flag.
The attached patch works for me, and also updates the port to 2.0.54. David, may I commit it?
Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | zebra-2.0.54.diff added |
---|
proposed patch
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
David responded by email, saying:
On Jan 30, 2013, at 08:26, dlc wrote:
Yes , please commit. Thanks!
Committed in r102316.
Logfile from the build process.