<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">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:</SPAN></SPAN></SPAN></DIV><DIV>*******************************************************************************************</DIV><DIV>GRASS 6.3.cvs (Projecte):/Applications/GRASS-6.3.app/Contents/Resources &gt; gis.m &amp;</DIV><DIV>GRASS 6.3.cvs (Projecte):/Applications/GRASS-6.3.app/Contents/Resources &gt; Xlib: connection to ":0.0" refused by server</DIV><DIV>Xlib: No protocol specified</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Application initialization failed: couldn't connect to display ":0.0"</DIV><DIV>Xlib: connection to ":0.0" refused by server</DIV><DIV>Xlib: No protocol specified</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Error in startup script: couldn't connect to display ":0.0"</DIV><DIV>    while executing</DIV><DIV>"load /Applications/GRASS-6.3.app/Contents/Resources/lib/tk8.4/../libtk8.4.dylib Tk"</DIV><DIV>    ("package ifneeded" script)</DIV><DIV>    invoked from within</DIV><DIV>"package require Tk 8.0"</DIV><DIV>    ("package ifneeded" script)</DIV><DIV>    invoked from within</DIV><DIV>"package require -exact BWidget 1.2.1"</DIV><DIV>    (file "/Applications/GRASS-6.3.app/Contents/Resources/etc/gm/gm.tcl" line 24)</DIV><DIV>***********************************</DIV>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<DIV><DIV><SPAN><IMG src="cid:0FC52374-BA32-4EBD-A448-61D02A0E9C8A@local"></SPAN><BR><DIV><DIV>On Apr 19, 2007, at 5:15 PM, William Kyngesburye wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Looks like for some reason it's using the system TclTk instead of the one bundled in the GRASS app package.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Make sure your X11 build of TclTk got bundled in the app package.<SPAN class="Apple-converted-space">  </SPAN>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.<SPAN class="Apple-converted-space">  </SPAN>If you used the universal tcltk build instructions in the readme, then that would be /usr/local/tcltk.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Apr 19, 2007, at 8:24 AM, Agustin Diez Castillo wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">After compiling and installing latest cvs following William's readme, I got this error when trying nviz (itt works fine when using his binaries):</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Date/Time:<SPAN class="Apple-converted-space">      </SPAN>2007-04-19 13:10:33.116 +0200</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">OS Version: <SPAN class="Apple-converted-space">    </SPAN>10.4.9 (Build 8P2137)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Report Version: 4</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Command: nviz</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Path:<SPAN class="Apple-converted-space">    </SPAN>/Applications/GRASS-6.3.app/Contents/Resources/etc/nviz2.2/nviz</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Parent:<SPAN class="Apple-converted-space">  </SPAN>wish8.4 [15392]</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Version: ??? (???)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">PID:<SPAN class="Apple-converted-space">    </SPAN>15397</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thread: 0</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Exception:<SPAN class="Apple-converted-space">  </SPAN>EXC_BAD_ACCESS (0x0001)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Codes:<SPAN class="Apple-converted-space">      </SPAN>KERN_INVALID_ADDRESS (0x0001) at 0x6e614320</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thread 0 Crashed:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">0 <SPAN class="Apple-converted-space">  </SPAN>libX11.6.dylib <SPAN class="Apple-converted-space">      <SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN></SPAN>0x005dacd2 XQueryExtension + 51</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">0x9ac47000 - 0x9acc5fff com.tcltk.tcllibrary 8.4.7 a<SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>/System/Library/Frameworks/Tcl.framework/Versions/8.4/Tcl</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">0x9acdf000 - 0x9ad8efff com.tcltk.tklibrary 8.4.7 a<SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>/System/Library/Frameworks/Tk.framework/Versions/8.4/Tk</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-----</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">William Kyngesburye &lt;kyngchaos*at*kyngchaos*dot*com&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.kyngchaos.com">http://www.kyngchaos.com</A>/</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"Oh, look, I seem to have fallen down a deep, dark hole.<SPAN class="Apple-converted-space">  </SPAN>Now what does that remind me of?<SPAN class="Apple-converted-space">  </SPAN>Ah, yes - life."</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">- Marvin</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>