[GRASS-user] Calculating eigen values and % varianceexplainedafter PCA analysis

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Sun Mar 1 06:46:04 EST 2009

> [...] i.pca just does not report the eigen_VALUES_. At some point some
> C-expert needs to have a look in the code (i.pca) and correct the
> "bug" which does not let the eigen_VALUES_ from being printed.

> done in devbr6 (6.5svn) please test, I'm not a multivariate stats guru
> and may have done something dumb so didn't port to other branches yet.

First test:

Following modules are missing the 'description.html' file in src code:
GRASS GIS compilation log
Started compilation: Sun Mar  1 11:41:04 CET 2009
Errors in:
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 Mar  1 11:46:34 CET 2009
make: *** [default] Error 1
nik at vertical:/usr/local/src/grass6_devel$ cd imagery/i.pca/
nik at vertical:/usr/local/src/grass6_devel/imagery/i.pca$ make
gcc -I/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/include  -g -Wall       -DPACKAGE=\""grassmods"\"  -I/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/support.o -c support.c
support.c: In function ‘write_history’:
support.c:43: error: expected expression before ‘<<’ token
support.c:46: error: expected expression before ‘==’ token
support.c:49: error: expected expression before ‘>>’ token
support.c:67: warning: format not a string literal and no format arguments
make: *** [OBJ.x86_64-unknown-linux-gnu/support.o] Error 1

# Am I doing something wrong?

More information about the grass-user mailing list