[GRASS-dev] nviz crashes on MacOSX

Agustin Diez Castillo Agustin.Diez at uv.es
Fri Apr 20 12:59:22 EDT 2007


Now it's working, after cvs update, make distclean, make, sudo make  
install.
Same flags, same machine and
export SDKROOT=/Developer/SDKs/MacOSX10.4u.sdk; export CFLAGS="-arch  
ppc -arch i386 -isysroot $SDKROOT"; export CXXFLAGS="-arch ppc -arch  
i386 -isysroot $SDKROOT"; export LDFLAGS="-arch ppc -arch i386 - 
isysroot $SDKROOT"; export NAD2BIN=/Library/Frameworks/PROJ.framework/ 
Programs/nad2bin
not tcltkprefix.
**********************************************
./configure --with-freetype --with-freetype-includes="/Library/ 
Frameworks/FreeType.framework/unix/include/freetype2 /Library/ 
Frameworks/FreeType.framework/unix/include" --with-freetype-libs=/ 
Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/ 
Frameworks/GDAL.framework/Programs/gdal-config --with-proj --with- 
proj-includes=/Library/Frameworks/PROJ.framework/unix/include --with- 
proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj- 
share=/Library/Frameworks/PROJ.framework/Resources/proj --with-jpeg- 
includes=/Library/Frameworks/UnixImageIO.framework/unix/include -- 
with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib -- 
with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/ 
include --with-png-libs=/Library/Frameworks/UnixImageIO.framework/ 
unix/lib --with-tiff-includes=/Library/Frameworks/ 
UnixImageIO.framework/unix/include --with-tiff-libs=/Library/ 
Frameworks/UnixImageIO.framework/unix/lib --with-postgres-includes=/ 
usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib -- 
without-mysql --with-odbc --with-sqlite --with-sqlite-libs=/Library/ 
Frameworks/SQLite3.framework/unix/lib --with-sqlite-includes=/Library/ 
Frameworks/SQLite3.framework/unix/include --with-fftw-includes=/ 
Library/Frameworks/FFTW3.framework/unix/include --with-fftw-libs=/ 
Library/Frameworks/FFTW3.framework/unix/lib --with-cxx --with-tcltk- 
includes=/usr/local/tcltk/include --with-tcltk-libs=/usr/local/tcltk/ 
lib --with-x --with-motif --without-glw --with-opengl=x11 --with- 
opengl-libs=/usr/X11R6/lib --without-readline --prefix=/Applications  
--enable-macosx-app
> On Apr 20, 2007, at 6:03 AM, Agustin Diez Castillo wrote:
>
>> I did NOT start from the terminal, I doubled click on the  
>> application. The Xlib message only showed up once, the tcltk  
>> messages several times but they are gone now. However nviz still  
>> crashes.
>> http://smigol2.uv.es/nviz_crashing.mov
>>
> Sorry.  But now it's making sense - as Glynn suggested, somehow  
> during the build NVIZ is linking to /usr/libtcl and /usr/libtk.   
> These are the symlinks in the system to the system Tcl and Tk  
> frameworks.  As far as Glynn's suggestion of creating these  
> symlinks to /usr/local/tcltk copies, you shouldn't mess with system  
> stuff (/usr/lib).
>
> What is the link command show for nviz when you build grass? it's  
> built as nvwish so search for that in the make output.
>
> There should be no -L/usr/lib in there.  That's a default dir for  
> GCC and manually adding it somehow can mess up linking priorities,  
> like what is happening here.
>
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "This is a question about the past, is it? ... How can I tell that  
> the past isn't a fiction designed to account for the discrepancy  
> between my immediate physical sensations and my state of mind?"
>
> - The Ruler of the Universe
>
>
>




More information about the grass-dev mailing list