[GRASS-dev] Re: Not universal building on Mac

massimo di stefano massimodisasha at yahoo.it
Wed May 9 12:01:53 EDT 2007


Hi,

i have the same problem (nviz crash)

to avoid any conflict with other libraries that i've installed on my  
mac  (intel machine)
i formatted the HD
i installed osx on it
  Xcode and GCC
now i'm tring to buid grass on a fresh osx 10.4.9 installation

(so i'm sure that there is not external library or
somethink like fink-darwinports environment that can be a possible  
conflict)

to install grass as first step,
i installed the tcltk library (8.14) from source as suggested in the  
readme file.
then i tried to configure grass63-cvs =


cvs downoad ...
cd ../grass6
make distclean

./configure --prefix=/Applications --enable-macosx-app --enable-sysv
--with-x
--with-opengl=x11
--with-cxx
--with-freetype
--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/ 
include
--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib
--with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.4/Programs/ 
gdal-config
--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
--with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/ 
include
--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-tiff
--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/ 
include
--with-tiff-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-sqlite
--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/ 
include
--with-fftw
--with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include
--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib
--with-postgres-includes=/usr/local/pgsql/include
--with-postgres-libs=/usr/local/pgsql/lib
--with-tcltk-includes=/usr/local/tcltk/include
--with-tcltk-libs=/usr/local/tcltk/lib
--x-includes=/usr/X11R6/include/
--x-libraries=/usr/X11R6/lib/
--with-python
--enable-largefile

export TCLTKPREFIX=/usr/local/tcltk/

make

sudo make install

.configure  give me not errors
idem with  make
butr try to use nviz ... it crash!


again i tried to configure grass with the same .configure,
but in usr/local instead of /application :

./configure --prefix=/usr/local/       .......(without : --enable- 
macosx-app ) ...


i've the same results (nviz crash)
note:
using the --prefix=/usr/local

grass start with a native aqua gui and no x11
  (can this hep to indagate the nviz problem ?)

Massimo.

Il giorno 09/mag/07, alle ore 17:24, grass-dev-request at grass.itc.it  
ha scritto:

> I did make distclean before compiling. On the binary nviz is still  
> crashing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070509/159f898d/attachment.html


More information about the grass-dev mailing list