On Tue, Dec 30, 2014 at 3:49 PM, Michael Barton <[email protected]> wrote:
> Thanks. The versions I now have posted work fine with Yosemite. But I have > not yet compiled under Yosemite. > > I have a couple of questions: > > What is: export VERSIONER_PYTHON_PREFER_32_BIT=yes? > > This is there to make it compile with 32bit wxPython 2.8. It depends which Python you use, this works for the default Python on Mac OS: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/python.1.html > Also, is the SQLite problem something to do with Yosemite or something > else? > > I haven't had time to look at it. > I’ve also tried with wxPython 3 but it looks bad. So I’m still sticking > with 2.8 (which is why we need the 32bit Python). > > Yes, there are still a lot of weird bugs, some of them must be fixed in wxWidgets, some of them I tried to workaround. It would be good if you could describe "looks bad", there might be some things which i can fix or at least workaround. > > > Here is what I do before compiling > > # This is for creating a distributable binary that is backward compatible > to OSX 10.7 > export MACOSX_DEPLOYMENT_TARGET=10.7 > > # This stuff is for making sure that it compiles using 32 bit Python > export > PATH="/Applications/python/bin32:/System/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH” > > # This is what I do for PROJ > export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin > > # This is (IIRC) for LAS tools compiling > export CXX=g++ > > I think I haven't tried compiling with las tools yet. > > For the broken xml stuff, I’ve just saved versions of menudata.xml. and > module_tree_menudata.xml. I drop these into the proper places before making > a binary. Can I just run make from the source root from within GRASS to get > the same thing? > > It is enough to start GRASS session (without gui) and then recompile (just the wxpython part is enough) inside the session. That's what works for me. I don't really try to understand why, it's apparently some problem with makefiles and setting the right environmental variables. I thought we got rid of this problem (Martin fixed something) but apparently not. Anna 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 > > > > > > > > > > > > > > > > On Dec 30, 2014, at 1:36 PM, Helena Mitasova <[email protected]> wrote: > > > 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 > > [email protected] > > 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 > >> [email protected] > >> http://lists.osgeo.org/mailman/listinfo/grass-dev > > > > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
