[MacPorts] #37578: grass fails to build
#37578: grass fails to build -----------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: grass -----------------------------+-------------------------------- On MacOS X 10.5.8, Xcode 3.1.4. No variants requested. -- Ticket URL: <https://trac.macports.org/ticket/37578> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (by ryandesign@…): 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 -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (by g5pw@…): Does the patch provided in #37376 solve the problem with grass? -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (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. -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (by g5pw@…): Replying to [comment:6 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. -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (by kobayos@…): Replying to [comment:7 g5pw@…]:
Replying to [comment:6 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. -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (by macsforever2000@…): Indeed the [http://grasswiki.osgeo.org/wiki/Compile_and_Install source install documentation] mentions needing python-wxGTK. -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: grass | ------------------------------+-------------------------------- Comment (by g5pw@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#37578: grass fails to build with tcl / tk 8.6 ------------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: grass | ------------------------------+-------------------------------- Changes (by g5pw@…): * status: new => closed * resolution: => fixed Comment: Fixed in r106731. Thanks for the patch! -- Ticket URL: <https://trac.macports.org/ticket/37578#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts