[GRASS-user] error compiling grass 7.8.2 on centos 7

Laura Poggio laura.poggio at gmail.com
Thu Dec 19 22:46:44 PST 2019


Dear Markus,
thanks

Below my configure (grass 7.6.1 compiles fine with a similar configure.)

./configure \
-prefix=/home/user/grass/ \
--enable-64bit
--with-fftw-includes=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/include/ \
--with-fftw-libs=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/lib/ \
--with-freetype-includes=/home/user/grass/freetypes/freetype-2.9.1/include/
\
--with-netcdf --with-geos --with-blas --with-lapack --with-postgres \
--with-zstd-libs=/home/user/grass/zstd/zstd-1.4.0/lib/ \
--with-zstd-includes=/home/user/grass/zstd/zstd-1.4.0/lib/

The freetype and zstd are in my home because they are not available on the
cluster, so I had to create them locally.
If I may, I add an additional question: which is the right option in
configure to point to a specific version of proj? --with-proj-libs?

Thanks a lot

Laura



On Thu, 19 Dec 2019 at 23:36, Markus Neteler <neteler at osgeo.org> wrote:

> On Thu, Dec 19, 2019 at 8:12 AM Laura Poggio <laura.poggio at gmail.com>
> wrote:
> >
> > Dear list,
> > I am trying to compile grass 7.8.2 on an HPC cluster using centos 7 as
> operative system. I can not install binaries.
>
> Just to understand: for policy reasons?
>
> > I need to compile from source.
> >
> > The python version I am using is Python 3.7.4
> >
> > The configure and the make are working fine.
>
> Importantly, pls post your "configure" command to better understand
> the error below:
>
> > However I get the following errors at the make install stage:
> >
> > rm /home/user/grass//grass78/etc/fontcap
> > rm: cannot remove ‘/home/user/grass//grass78/etc/fontcap’: No such file
> or directory
> > make[1]: [real-install] Error 1 (ignored)
> > make /home/user/grass//grass78/etc/fontcap
> > make[2]: Entering directory `/home/user/grass/grass-7.8.2'
> > make[2]: *** No rule to make target
> `/home/user/grass/grass-7.8.2/dist.x86_64-pc-linux-gnu/etc/fontcap', needed
> by `/home/user/grass//grass78/etc/fontcap'.  Stop.
> > make[2]: Leaving directory `/home/user/grass/grass-7.8.2'
> > make[1]: *** [real-install] Error 2
> > make[1]: Leaving directory `/home/user/grass/grass-7.8.2'
> > make: *** [install] Error 2
> >
> > Am I missing some dependencies in the fonts?
>
> ... probably in the configure step.
>
> > Is the python version ok or should I use a slightly older 3.x one?
>
> That should be fine.
>
> > are there any recommendations for the gcc version to use?
>
> No special recommendations.
>
> Best wishes
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20191220/e6370cc9/attachment.html>


More information about the grass-user mailing list