[GRASS-dev] failure to compile v.class on Mac OS X

I just tried to compile GRASS from SVN trunk. v.class didn’t compile, so I went to the v.class folder and ran make from there. Here is the error.

Did I miss a step or does something need to be changed in v.class?

Michael

Errors in:
/Users/cmbarton/grass_dev/grass_src/gui/wxpython/vdigit
/Users/cmbarton/grass_dev/grass_src/vector/v.class

In case of errors please change into the directory with error and run ‘make’.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.

Finished compilation: Sun Feb 24 09:53:30 MST 2008
make: *** [default] Error 1
cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd vector
cmb-MBP-2:~/grass_dev/grass_src/vector cmbarton$ cd v.class
cmb-MBP-2:~/grass_dev/grass_src/vector/v.class cmbarton$ make
make: *** No rule to make target /Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib/libgrass_arraystats.dylib', needed by /Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/bin/v.class’. Stop.
cmb-MBP-2:~/grass_dev/grass_src/vector/v.class cmbarton$


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

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

Hi,

2008/2/24, Michael Barton <michael.barton@asu.edu>:

I just tried to compile GRASS from SVN trunk. v.class didn't compile, so I
went to the v.class folder and ran make from there. Here is the error.

Did I miss a step or does something need to be changed in v.class?

You need to compile manually arraystatslib first

cd lib/arraystats
make

BTW: maybe Makefiles could be updated to compile
arraystatslib/v.class/d.thematic.area by default

Martin

Errors in:
/Users/cmbarton/grass_dev/grass_src/gui/wxpython/vdigit
/Users/cmbarton/grass_dev/grass_src/vector/v.class
--
In case of errors please change into the directory with error and run
'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Sun Feb 24 09:53:30 MST 2008
make: *** [default] Error 1
cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd vector
cmb-MBP-2:~/grass_dev/grass_src/vector cmbarton$ cd v.class
cmb-MBP-2:~/grass_dev/grass_src/vector/v.class cmbarton$
make
make: *** No rule to make target
`/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib/libgrass_arraystats.dylib',
needed by
`/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/bin/v.class'.
Stop.
cmb-MBP-2:~/grass_dev/grass_src/vector/v.class cmbarton$

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

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

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

On Sun, February 24, 2008 18:17, Martin Landa wrote:

Hi,

2008/2/24, Michael Barton <michael.barton@asu.edu>:

I just tried to compile GRASS from SVN trunk. v.class didn't compile,
so I
went to the v.class folder and ran make from there. Here is the error.

Did I miss a step or does something need to be changed in v.class?

You need to compile manually arraystatslib first

cd lib/arraystats
make

BTW: maybe Makefiles could be updated to compile
arraystatslib/v.class/d.thematic.area by default

Maybe a little testing first ? But no strong opinion either way.

Moritz