[GRASS-dev] nviz crashes on MacOSX

Agustin Diez Castillo Agustin.Diez at uv.es
Thu Apr 19 13:47:38 EDT 2007


I did compile with TCLTKPREFIX=/usr/local/tcltk. At first it refuses  
to launch grass, if the terminal was already open nothing happened  
otherwise I got this:
************************************************************************ 
*******************
GRASS 6.3.cvs (Projecte):/Applications/GRASS-6.3.app/Contents/ 
Resources > gis.m &
GRASS 6.3.cvs (Projecte):/Applications/GRASS-6.3.app/Contents/ 
Resources > Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Application initialization failed: couldn't connect to display ":0.0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error in startup script: couldn't connect to display ":0.0"
     while executing
"load /Applications/GRASS-6.3.app/Contents/Resources/lib/tk8.4/../ 
libtk8.4.dylib Tk"
     ("package ifneeded" script)
     invoked from within
"package require Tk 8.0"
     ("package ifneeded" script)
     invoked from within
"package require -exact BWidget 1.2.1"
     (file "/Applications/GRASS-6.3.app/Contents/Resources/etc/gm/ 
gm.tcl" line 24)
***********************************
After fixing .grassrc GRASS_GUI=tcltk (as expected it changes to text  
after failure) it starts either the aqua tclktk or the x11 one  
(arbitrarily as far as I can say); after several tryouts I got what I  
want grass started from x11 but nviz still crashes, I have tried from  
both the icon and the terminal. Now everything I try but nviz is working

On Apr 19, 2007, at 5:15 PM, William Kyngesburye wrote:

> Looks like for some reason it's using the system TclTk instead of  
> the one bundled in the GRASS app package.
>
> Make sure your X11 build of TclTk got bundled in the app package.   
> It's possible the automatic detection of the TclTk prefix isn't  
> working for the bundling stage, like we discussed offlist, and you  
> would have to set TCLTKPREFIX before building GRASS.  If you used  
> the universal tcltk build instructions in the readme, then that  
> would be /usr/local/tcltk.
>
>
> On Apr 19, 2007, at 8:24 AM, Agustin Diez Castillo wrote:
>
>> After compiling and installing latest cvs following William's  
>> readme, I got this error when trying nviz (itt works fine when  
>> using his binaries):
>> Date/Time:      2007-04-19 13:10:33.116 +0200
>> OS Version:     10.4.9 (Build 8P2137)
>> Report Version: 4
>>
>> Command: nviz
>> Path:    /Applications/GRASS-6.3.app/Contents/Resources/etc/ 
>> nviz2.2/nviz
>> Parent:  wish8.4 [15392]
>>
>> Version: ??? (???)
>>
>> PID:    15397
>> Thread: 0
>>
>> Exception:  EXC_BAD_ACCESS (0x0001)
>> Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x6e614320
>>
>> Thread 0 Crashed:
>> 0   libX11.6.dylib       	0x005dacd2 XQueryExtension + 51
> ...
>> 0x9ac47000 - 0x9acc5fff com.tcltk.tcllibrary 8.4.7 a	/System/ 
>> Library/Frameworks/Tcl.framework/Versions/8.4/Tcl
>> 0x9acdf000 - 0x9ad8efff com.tcltk.tklibrary 8.4.7 a	/System/ 
>> Library/Frameworks/Tk.framework/Versions/8.4/Tk
>>
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what  
> does that remind me of?  Ah, yes - life."
>
> - Marvin
>
>
>

-------------- next part --------------
Skipped content of type multipart/related


More information about the grass-dev mailing list