[GRASS-dev] [GRASS GIS] #1843: grass-6.4.2 doesn't compile with tk-8.6.0

GRASS GIS trac at osgeo.org
Sat Jan 5 11:16:55 PST 2013


#1843: grass-6.4.2 doesn't compile with tk-8.6.0
----------------------------+-----------------------------------------------
 Reporter:  syntaxerrormmm  |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  blocker         |   Milestone:  6.4.3                    
Component:  Compiling       |     Version:  6.4.2                    
 Keywords:                  |    Platform:  Linux                    
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------

Comment(by mmetz):

 Replying to [ticket:1843 syntaxerrormmm]:
 > OS: !ArchLinux (rolling release)
 > Behaviour: compiling GRASS from source (6.4.2) fails when building NVIZ
 with the attached error.
 >
 > It seems that the required function (!TkCopyAndGlobalEval) has been
 removed from the TK toolkit (8.6.0).

 Within !Tcl/Tk,

 {{{
 TkCopyAndGlobalEval(interp, command);
 }}}

 has been replaced with

 {{{
 Tcl_EvalEx(interp, command, -1, TCL_EVAL_GLOBAL);
 }}}

 see

 http://rkeene.org/projects/tcl/tk.fossil/ci/bd1165a06d?sbs=0

 Maybe the equivalent

 {{{
 Tcl_EvalEx(cancel_interp, cancel_script, -1, TCL_EVAL_GLOBAL);
 }}}

 works for GRASS 6? `Tcl_EvalEx` exists in previous versions of !Tcl/Tk
 (8.5 + 8.4).

 Markus M

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1843#comment:8>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list