<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I have been testing William's instructions step by step and now they are working for me. What I do is after make distclean, I configure with that (I need to export NAD2BIN and CFLAGS, CXXFLAGS and LDFLAGS but this is in William's readme.<DIV>export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin; export CFLAGS="-arch ppc -arch i386 -g -O3"; export CXXFLAGS="-arch ppc -arch i386"; export LDFLAGS="-arch ppc -arch i386 ./configure --prefix=/Applications --enable-sysv --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include --with-tcltk-includes=/usr/local/tcltk/include --with-tcltk-libs=/usr/local/tcltk/lib --with-gdal=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config --with-proj-share=/Library/Frameworks/PROJ.framework/Resources/proj --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include --with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-x --with-cxx --without-glw --without-motif --without-odbc --enable-macosx-app --enable-shared --with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib --with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include --with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-opengl=x11 --with-opengl-includes=/usr/X11R6/include --with-opengl-libs=/usr/X11R6/lib --with-python --with-curses --enable-largefile --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib</DIV><DIV>make</DIV><DIV>and later,</DIV><DIV>make bindist<BR><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; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">So I got an universal installer that is working fine in a few Macs now.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ">Agustin</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ">PD Some comments already on the list<BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks to William nviz is working now on my macintel, latest grass6.3 compilation.</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 May 17, 2007, at 8:54 PM, William Kyngesburye wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Add these symlinks:</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; ">sudo ln -s libtcl8.4.dylib /usr/local/tcltk/lib/libtcl.dylib</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sudo ln -s libtk8.4.dylib /usr/local/tcltk/lib/libtk.dylib</DIV><BR></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><BR></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; ">What he said. Long explanation:</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; ">It appears that the standard TclTk build doesn't create those symlinks. So, while you specify the correct dir and configure finds it, the linker doesn't and falls back to the system tcltk, which causes NVIZ to crash (older Aqua 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; ">(I had partially fixed this on my Mac a while back and forgot about it, and it's been working for me.)</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; ">I added the sylink step to the TclTk build instructions in the OSX readme. Hopefully this will take care of the mysterious OSX NVIZ problems many people have been having.</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; ">-----</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">William Kyngesburye <kyngchaos*at*kyngchaos*dot*com></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><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On May 30, 2007, at 2:52 PM, Scott Mitchell wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My first test of RC1 was on an Intel Macbook.<SPAN class="Apple-converted-space"> </SPAN>I have also just received a question from a colleague asking for clarification re: Tcl/Tk requirements for GRASS on Macs, so I decided to do some digging... so far I'm still confused.</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; ">I have tended to stick with the "unix version" of GRASS on my Macs.<SPAN class="Apple-converted-space"> </SPAN>I have occasionally played with either William's binaries (kyngchaos.com), or compiling from source with the --enable-macosx-app option, but I've never used these versions much beyond quick tests, since I work a lot over network connections in a mixed Linux/Mac environment.</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; ">Once or twice I ran into troubles with the "wish not behaving as expected" error on startup with the .app versions, but never really explored this, just went back to my working versions.</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; ">So now I'm trying to learn a little more, and will flesh out the explanations on the web pages with my findings.</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; ">So for 6.2.2 RC1, I just tried compiling with the following:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">branford:~/src/grass-6.2.2RC1 smitchl$ ./configure<SPAN class="Apple-converted-space"> </SPAN>--prefix=/Applications --enable-macosx-app '--with-libs=/usr/X11R6/lib /Library/Frameworks/UnixImageIO.framework/unix/lib /sw/lib' '--with-includes=/usr/X11R6/include /Library/Frameworks/UnixImageIO.framework/unix/include /sw/include' --with-freetype --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/usr/local/bin/gdal-config --with-motif --with-postgres-includes=/sw/include/postgresql --with-odbc --with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include --with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-sqlite --with-python --with-proj=/usr/local --with-cxx --with-tcltk-includes=/sw/include --with-tcltk-libs=/sw/lib</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; ">What I've ended up with, though, is a "unix version" installed under /Applications/grass-6.2.2RC1 instead of an .app/<SPAN class="Apple-converted-space"> </SPAN>-- I'm assuming this is because I specified "unix" tcltk (on this machine, installed through fink, so it's in /sw).</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; ">It seems to work fine, with the exception of nviz, which generates:</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 0x5c637273</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; ">I just recompiled a "normal" build into /usr/local, and it too gets a segmentation error launching nviz.<SPAN class="Apple-converted-space"> </SPAN>Hmm... I'll have to delve into that further.</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; ">In the meantime, I'm wondering:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(1) Am I correct in inferring that if one wants a .app build, one needs to use the Aqua Tcl/Tk (i.e. don't specify a unix/X11 version for the tcltk includes and libs) ?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>(a) if that's correct, does the Apple stock distribution work, or does it work</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>for all except nviz?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>(b) if that's not correct, what went wrong in my build</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN>- i.e. why didn't I get an .app?</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; ">(2) If someone wants to use X11 instead of Aqua, there's nothing wrong with an "external" build of Tcl/Tk, alongside Apple's, right?<SPAN class="Apple-converted-space"> </SPAN>If I understand William's writing in <A href="http://grass.itc.it/platforms/macgrass/tcltk.php">http://grass.itc.it/platforms/macgrass/tcltk.php</A> correctly, this is essentially what he has done by installing into /usr/X11R6, because Apple's is directly under /usr</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; ">(3) Are there any other issues I should be aware of if I'm going to edit the platform notes?<SPAN class="Apple-converted-space"> </SPAN>I suppose some mention of GRASS_WISH would be useful.</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; ">Thanks,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Scott</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; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">grass-dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:grass-dev@grass.itc.it">grass-dev@grass.itc.it</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://grass.itc.it/mailman/listinfo/grass-dev">http://grass.itc.it/mailman/listinfo/grass-dev</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>