[GRASS-user] make fails to find Platform.make

Luí­s Moreira de Sousa luis.de.sousa at protonmail.ch
Thu Sep 19 02:06:35 PDT 2019


Hi all,

I am compiling GRASS 7.6 in an HPC cluster running Scientific Linux. make is failing to find the folder or file ../../include/Make/Platform.make, I don't recall seeing this before.

This is the configuration command:

./configure \
-prefix=/home/WUR/duque004/grass/ \
--enable-64bit --with-fftw-includes=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/include/ \
--with-freetype-includes=/home/WUR/duque004/grass/freetypes/freetype-2.9.1/include/ \
--with-postgres=yes \
--with-netcdf --with-geos --with-blas --with-lapack

And its output:

GRASS is now configured for:  x86_64-pc-linux-gnu

  Source directory:           /home/WUR/duque004/grass/grass-7.6.0
  Build directory:            /home/WUR/duque004/grass/grass-7.6.0
  Installation directory:     ${prefix}/grass-7.6.0
  Startup script in directory:${exec_prefix}/bin
  C compiler:                 gcc -g -O2
  C++ compiler:               c++ -g -O2
  Building shared libraries:  yes
  OpenGL platform:            X11

  MacOSX application:         no
  MacOSX architectures:
  MacOSX SDK:

  BLAS support:               yes
  BZIP2 support:              no
  C++ support:                yes
  Cairo support:              yes
  DWG support:                no
  FFTW support:               yes
  FreeType support:           yes
  GDAL support:               yes
  GEOS support:               yes
  LAPACK support:             yes
  Large File support (LFS):   yes
  libLAS support:             no
  MySQL support:              no
  NetCDF support:             yes
  NLS support:                no
  ODBC support:               no
  OGR support:                yes
  OpenCL support:             no
  OpenGL support:             yes
  OpenMP support:             no
  PDAL support:               no
  PNG support:                yes
  POSIX thread support:       no
  PostgreSQL support:         yes
  Readline support:           no
  Regex support:              yes
  SQLite support:             yes
  TIFF support:               yes
  X11 support:                yes
  Zstandard support:          no

  using old PROJ 4 API

make then fails for about 50 modules, of all kinds. Running make individually always yields the same error:

$ cd /home/WUR/duque004/grass/grass-7.6.0/lib/gmath
$ make
../../include/Make/Vars.make:1: ../../include/Make/Platform.make: No such file or directory
../../include/Make/Shlib.make:10: warning: overriding recipe for target `/dist./lib/grass_gmath...'
../../include/Make/Stlib.make:5: warning: ignoring old recipe for target `/dist./lib/grass_gmath...'
make: *** No rule to make target `../../include/Make/Platform.make'.  Stop.

$ cd /home/WUR/duque004/grass/grass-7.6.0/lib/rst/interp_float
$ make
../../../include/Make/Vars.make:1: ../../../include/Make/Platform.make: No such file or directory
../../../include/Make/Shlib.make:10: warning: overriding recipe for target `/dist./lib/grass_interpfl...'
../../../include/Make/Stlib.make:5: warning: ignoring old recipe for target `/dist./lib/grass_interpfl...'
make: *** No rule to make target `../../../include/Make/Platform.make'.  Stop.

$ cd /home/WUR/duque004/grass/grass-7.6.0/raster/r.sun
$ make
../../include/Make/Vars.make:1: ../../include/Make/Platform.make: No such file or directory
make: *** No rule to make target `../../include/Make/Platform.make'.  Stop.

Any clues on what may be causing this? Thank you.

--
Luís
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190919/ea2c43e9/attachment-0001.html>


More information about the grass-user mailing list