[GRASS5] Tcl8.4 support?

Stephan Holl sholl at gmx.net
Mon Sep 15 04:56:08 EDT 2003


Hello Hamish,

At Mon, 15 Sep 2003 19:59:44 +1200 Hamish wrote:

> > > But back to Debian with TclTk 8.4 and the bug as reported in
> > > http://article.gmane.org/gmane.comp.gis.grass.devel/1883
> > > 
> > > "it does freeze up (0% cpu) at the first instance of "exec"
> > > in etc/nviz2.2/scripts/nviz2.2_script, line 78:   (Adding panels
> > > section)    set panels [exec cat $index]
> > > 
> > > (I tried placing some exec's further up in the script & they did
> > > the same lock-up)"
> 
> G: One thing which might make a difference: try adding "-lpthread" to
> G: the link command. I've occasionally encountered all sorts of odd
> G: behaviour with programs which are linked against libraries which
> are G: linked against libpthread (typically libGL), but where the
> binary G: itself isn't linked directly against libpthread.
> 
> > I'll try tcl8.4 with "-lpthread" next.
> >  (added to src.contrib/GMSL/NVIZ2.2/src/Gmakefile  XTRA_LDFLAGS ?)
> 
> 
> That works(!)

I can confirm this. Adding -lpthread make NVIZ compile fine and run so
as well. :-)
using debian testing/unstable with 
- gcc (GCC) 3.3.1 20030626 (Debian prerelease)
- tcl/tk8.4

cheers
  Stephan

-- 
Stephan Holl

GnuPG Key-ID: 11946A09 

 10:51:03 up  3:30,  1 user,  load average: 0.13, 0.54, 0.70
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20030915/cde065db/attachment.bin


More information about the grass-dev mailing list