[GRASS-user] GRASS 7.8.5 compile errors

Thomas Adams tea3rd at gmail.com
Tue Aug 10 07:05:48 PDT 2021


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

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

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210810/ee20580e/attachment.html>


More information about the grass-user mailing list