[GRASS-dev] problems compiling GRASS 7 on Mac

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

Hi,

2012/11/28 Michael Barton <Michael.Barton@asu.edu>:

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

please try r54092. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

OK. Will update and try again.

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

On Nov 28, 2012, at 10:46 AM, Martin Landa <landa.martin@gmail.com>
wrote:

Hi,

2012/11/28 Michael Barton <Michael.Barton@asu.edu>:

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

please try r54092. Martin

--
Martin Landa <landa.martin gmail.com> * Studijní program Geodézie a kartografie – GeoWikiCZ

Martin,

I did and still had the same problem.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

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

On Nov 28, 2012, at 10:46 AM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2012/11/28 Michael Barton <Michael.Barton@asu.edu>:

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

please try r54092. Martin

--
Martin Landa <landa.martin gmail.com> * Studijní program Geodézie a kartografie – GeoWikiCZ

Hi,

2012/11/29 Michael Barton <Michael.Barton@asu.edu>:

I did and still had the same problem.

yeap, try r54115.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Same errors with r54115

Carlos

On Fri, Nov 30, 2012 at 1:46 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2012/11/29 Michael Barton <Michael.Barton@asu.edu>:

I did and still had the same problem.

yeap, try r54115.

Martin


Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


Prof. Carlos Henrique Grohmann
Institute of Geosciences - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.

2012/11/30 Carlos Grohmann <carlos.grohmann@gmail.com>:

Same errors with r54115

what `include/Make/Platform` says about GEOSCFLAGS?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

GEOSCFLAGS = -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include

______________________________
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

On Nov 30, 2012, at 9:05 AM, Martin Landa <landa.martin@gmail.com>
wrote:

2012/11/30 Carlos Grohmann <carlos.grohmann@gmail.com>:

Same errors with r54115

what `include/Make/Platform` says about GEOSCFLAGS?

Martin

--
Martin Landa <landa.martin gmail.com> * Studijní program Geodézie a kartografie – GeoWikiCZ

2012/11/30 Michael Barton <Michael.Barton@asu.edu>:

GEOSCFLAGS = -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include

OK, but did you tried r54115?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

I'll check and get back to you. Thanks for looking at it.

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

On Nov 30, 2012, at 10:30 AM, Martin Landa <landa.martin@gmail.com> wrote:

2012/11/30 Michael Barton <Michael.Barton@asu.edu>:

GEOSCFLAGS = -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include

OK, but did you tried r54115?

Martin

--
Martin Landa <landa.martin gmail.com> * Studijní program Geodézie a kartografie – GeoWikiCZ

GRASS 7 now compiles g.version in the most recent revision. Thanks much.

Now to deal with the other modules that don't compile…

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

On Nov 30, 2012, at 10:30 AM, Martin Landa <landa.martin@gmail.com> wrote:

2012/11/30 Michael Barton <Michael.Barton@asu.edu>:

GEOSCFLAGS = -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include

OK, but did you tried r54115?

Martin

--
Martin Landa <landa.martin gmail.com> * Studijní program Geodézie a kartografie – GeoWikiCZ