[GRASS-user] [GRASS-dev] GRASS 7.8.5 compile errors

Anna Petrášová kratochanna at gmail.com
Wed Aug 11 09:42:53 PDT 2021


On Tue, Aug 10, 2021 at 10:06 AM Thomas Adams <tea3rd at gmail.com> wrote:

> Hi all!
>
> I just upgraded from Ubuntu 18.04 to 20.04 and have to re-compile/install
> GRASS 7.8.5. I'm getting these errors:
>
> Errors in:
> /home/teaiii/grass-7.8.5/lib/python/ctypes
> /home/teaiii/grass-7.8.5/vector/v.out.ogr
> /home/teaiii/grass-7.8.5/man
>

What are the actual errors when you go in the directories and run make?

>
> I'm sure I have created some library incompatibilities, so I'm trying to
> identify where the problems are. I know I have python 3.8 installed, but
> when I run python -V I get:
>
> Python 2.7.18
>
> Do I need to compile against python 3.8; if so, how do I do that?
>
> My configure looks like this:
>
> CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \
> --enable-64bit \
> --with-cxx \
> --enable-largefile=yes \
> --with-nls \
> --with-readline \
> --with-pthread \
> --with-gdal=/usr/local/bin/gdal-config \
> --with-proj --with-proj-share=/usr/local/share/proj \
> --with-proj-includes=/usr/local/include \
> --with-proj-libs=/usr/local/lib \
> --with-geos=/usr/local/bin/geos-config \
> --with-wxwidgets=/usr/local/bin/wx-config \
> --with-cairo \
> --with-opengl-libs=/usr/include/GL \
> --with-freetype=yes \
> --with-freetype-includes=/usr/include/freetype2/ \
> --with-postgres=yes \
> --with-postgres-includes=/usr/local/include \
> --with-sqlite=yes \
> --with-mysql=yes \
> --with-mysql-includes=/usr/include/mysql \
> --with-odbc=no \
> --with-blas \
> --with-lapack \
> --with-liblas=yes \
> --with-liblas-config=/usr/bin/liblas-config \
> --with-netcdf=/usr/local/bin/nc-config \
> --with-blas-libs=/usr/local/lib \
> --with-lapack-includes=/usr/include \
> --with-lapack-libs=/usr/lib \
> --with-blas-includes=/usr/local/include \
> --with-zstd \
> --with-zstd-includes=/usr/local/include \
> --with-zstd-libs=/usr/local/lib
>
> with no errors.
>
> Any/all suggestions are appreciated...
>
> Regards,
> Tom
>
> --
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210811/8e1c3e25/attachment.html>


More information about the grass-user mailing list