[GRASS-dev] problems compiling GRASS 7 on Mac

Michael Barton Michael.Barton at asu.edu
Wed Nov 28 09:38:51 PST 2012


Like Carlos,

I got a number of errors trying to compile GRASS 7 on the Mac last night.

Several have to do with something new in the GUI (for map swipe, modeler, and animation) that is choking on a 32/64 bit compilation that has worked fine before

The other has to do with GEOS. I DO have GEOS and configure reports it. But g.version complains that is is missing.

anthgradpc7:~ cmbarton$ cd /Users/Shared/grass_dev/grass7_dev/general/g.version
anthgradpc7:g.version cmbarton$
anthgradpc7:g.version cmbarton$ make
gcc  -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk  -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include  -D_FILE_OFFSET_BITS=64 -I/Library/Frameworks/PROJ.framework/unix/include -I/Library/Frameworks/GDAL.framework/Versions/1.9/Headers -DGRASS_VERSION_NUMBER=\"'7.0.svn'\" -DGRASS_VERSION_DATE=\"'2012'\" -DGRASS_VERSION_SVN=\"'54082M'\" -DGRASS_VERSION_UPDATE_PKG=\"''\" -DPACKAGE=\""grassmods"\"   -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include -o OBJ.x86_64-apple-darwin12.2.0/main.o -c main.c
main.c:31:20: error: geos_c.h: No such file or directory
main.c: In function ‘main’:
main.c:156: error: ‘GEOS_VERSION’ undeclared (first use in this function)
main.c:156: error: (Each undeclared identifier is reported only once
main.c:156: error: for each function it appears in.)
main.c:31:20: error: geos_c.h: No such file or directory
main.c: In function ‘main’:
main.c:156: error: ‘GEOS_VERSION’ undeclared (first use in this function)
main.c:156: error: (Each undeclared identifier is reported only once
main.c:156: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/folders/dm/x_m7msz48xj_9c0059b59rf00000gn/T//cccW9YOx.out
make: *** [OBJ.x86_64-apple-darwin12.2.0/main.o] Error 1


Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
www:  http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121128/b7506af9/attachment-0001.html>


More information about the grass-dev mailing list