[GRASS-dev] installing v.kriging addon fails

Vaclav Petras wenzeslaus at gmail.com
Thu Oct 1 06:35:52 PDT 2015


On Thu, Oct 1, 2015 at 9:29 AM, Markus Neteler <neteler at osgeo.org> wrote:
>
> > In file included from geostat.c:1:0:
> >
> > local_proto.h:72:3: error: unknown type name ‘mat_struct’
> >
> >    mat_struct *trend;
> >
> >    ^
>
> ok - next check:
>
>
> cd /where/your/grass/is/lib
>
> ldd libgrass_gmath.so | grep 'blas\|lapack'
>    liblapack.so.3 => /lib64/liblapack.so.3 (0x00007f640ac4f000)
>    libblas.so.3 => /lib64/libblas.so.3 (0x00007f640a9f5000)
>
> Is your GMATH lib properly linked to BLAS/LAPACK? Here it is and it
compiles.

"unknown type name ‘xy’" really looks like that GRASS is not compiled with
BLAS and LAPACK. I suggest to double check the configuration. You can also
try to compile i.spec.unmix which always had an explicit check for BLAS and
LAPACK configuration. (v.kriging compiles for me.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151001/c3048b75/attachment.html>


More information about the grass-dev mailing list