[GRASS-dev] anyone compiled GRASS 7 on Mac Yosemite?

Helena Mitasova hmitaso at ncsu.edu
Tue Dec 30 12:36:04 PST 2014


Michael,

Anna compiled it for me.

Below is the configure and some notes. We had to run make for wxGUI from within GRASS and the vector attribute tables do not work
for me at the moment due to sqlite problems - we ran out of time to solve it.
We also used wxPython carbon 3 to see what kind of problems it would have - so some of the GUI panels are cut off so use 2.8

But otherwise it works great so it is worth doing - if you could provide GRASS7 binaries for yosemite that would be fantastic,
Anna is away but I have the machine with me so I can help or at least test.

Thanks for looking into it,

Helena

here are our notes:

./configure \
--with-proj \
--with-x \
--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-gdal=/Library/Frameworks/GDAL.Framework/Programs/gdal-config \
--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-opengl=aqua \
--without-fftw \
--with-cairo --with-cairo-includes=/Library/Frameworks/cairo.framework/unix/include/cairo \
--with-cairo-libs=/Library/Frameworks/cairo.framework/unix/lib \
--with-cairo-ldflags="-lcairo" \
--with-freetype \
--with-freetype-includes="/Library/Frameworks/FreeType.framework/unix/include/freetype2 /Library/Frameworks/FreeType.framework/unix/include/ /opt/X11/include/" \
--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \
--with-geos=/Library/Frameworks/GEOS.framework/Versions/3/unix/bin/geos-config \
--with-sqlite \
--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib \
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include \
--with-macosx-archs="i386 x86_64"

# run before compilation: export VERSIONER_PYTHON_PREFER_32_BIT=yes

PATH="/Library/Frameworks/PROJ.framework/Versions/4/Programs:$PATH"
export PATH

wxPython carbon 3 has issues - use 2.8
Helena Mitasova
Professor at the Department of Marine, 
Earth, and Atmospheric Sciences
and Center for Geospatial Analytics
North Carolina State University
Raleigh, NC 27695-8208
hmitaso at ncsu.edu
http://geospatial.ncsu.edu/osgeorel/
"All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.” 

On Dec 30, 2014, at 2:51 PM, Michael Barton wrote:

> Has anyone yet tried to compile GRASS 7 on Mac Yosemite (AKA OS X 10.10)? 
> 
> I will update soon and try it. It would be nice to know if it compiles without any issues.
> 
> Michael
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity 
> Professor of Anthropology, School of Human Evolution & Social Change
> Head, Graduate Faculty in Complex Adaptive Systems Science
> Arizona State University
> 
> voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev



More information about the grass-dev mailing list