#37578 closed defect (fixed)
grass fails to build with tcl / tk 8.6
Reported by: | petrrr | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | g5pw (Aljaž Srebrnič), sears3@…, manuel.deljesuspe@…, cooljeanius (Eric Gallager) | |
Port: | grass |
Description
On MacOS X 10.5.8, Xcode 3.1.4.
No variants requested.
Attachments (3)
Change History (15)
Changed 12 years ago by petrrr
Attachment: | grass.main.log added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | grass fails to build → grass fails to build with tcl / tk 8.6 |
---|
The log says:
:info:build Undefined symbols: :info:build "_TkCopyAndGlobalEval", referenced from: :info:build _CancelFunc_Hook in draw.o :info:build ld: symbol(s) not found
This indicates that this version of grass is incompatible with tcl and tk 8.6, to which those ports were just updated.
Here is the upstream bug report for this problem: http://trac.osgeo.org/grass/ticket/1843
comment:2 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Does the patch provided in #37376 solve the problem with grass?
Changed 12 years ago by kobayos
Attachment: | Portfile.diff added |
---|
Changed 12 years ago by kobayos
Attachment: | patch-visualization_nviz_src-draw_c.diff added |
---|
comment:6 follow-up: 7 Changed 12 years ago by kobayos
I experienced the same problem on Mountain Lion with MacPorts 2.1.3 and XCode 4.6.2 Although I have not checked whether it correctly works or not, I could build successfully by applying a patch that was provided at the upstream bug report : http://trac.osgeo.org/grass/ticket/1843
Please check the difference of the Portfile and the patch file.
comment:7 follow-up: 8 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Replying to kobayos@…:
I experienced the same problem on Mountain Lion with MacPorts 2.1.3 and XCode 4.6.2 Although I have not checked whether it correctly works or not, I could build successfully by applying a patch that was provided at the upstream bug report : http://trac.osgeo.org/grass/ticket/1843
Please check the difference of the Portfile and the patch file.
Yes, that resolves the error with TkCopyAndGlobalEval, but the python errors still remain, at least on my machine.
comment:8 follow-up: 10 Changed 12 years ago by kobayos
Replying to g5pw@…:
Replying to kobayos@…:
I experienced the same problem on Mountain Lion with MacPorts 2.1.3 and XCode 4.6.2 Although I have not checked whether it correctly works or not, I could build successfully by applying a patch that was provided at the upstream bug report : http://trac.osgeo.org/grass/ticket/1843
Please check the difference of the Portfile and the patch file.
Yes, that resolves the error with TkCopyAndGlobalEval, but the python errors still remain, at least on my machine.
In case of my machine, the gui starts up after installing py27-wxpython30.
comment:9 Changed 12 years ago by mf2k (Frank Schima)
Indeed the source install documentation mentions needing python-wxGTK.
comment:10 Changed 12 years ago by g5pw (Aljaž Srebrnič)
I finally found what was the issue. py27-wxpython30 has to be installed, and python27 must be selected as python (I had python33). I'll try to coerce grass into using python27 and att py27-wxpython30 as a dependency.
comment:11 Changed 11 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r106731. Thanks for the patch!
Logfile