<div dir="ltr">Dear Markus,<div>the path to the GRASS source (the directory where I compile) is <div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">/home/user/grass/grass-7.8.2/</span><br></span></div><div><br></div><div>I get the same when I try to compile with <span style="color:rgb(80,0,80)">-prefix=/home/user/local/</span><br></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><font color="#000000">Thanks!</font></div><div><font color="#000000">Laura</font></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 Dec 2019 at 09:22, Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><br>On Fri, Dec 20, 2019 at 7:47 AM Laura Poggio <<a href="mailto:laura.poggio@gmail.com" target="_blank">laura.poggio@gmail.com</a>> wrote:<br>><br>> Dear Markus,<br>> thanks<br>><br>> Below my configure (grass 7.6.1 compiles fine with a similar configure.)<br>><br>> ./configure \<br><div>> -prefix=/home/user/grass/ \</div><div><br></div><div>is it possible that prefix and path to the GRASS source are identical? This will not work and cause errors when running "make install". In this case, prefix must be set to another location, e.g. /home/user/local if you do not want or can not use the default /usr/local.<br></div><div><br></div><div>Just a guess,</div><div><br></div><div>Markus M<br></div><div><br></div>> --enable-64bit --with-fftw-includes=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/include/ \<br>> --with-fftw-libs=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/lib/ \<br>> --with-freetype-includes=/home/user/grass/freetypes/freetype-2.9.1/include/ \<br>> --with-netcdf --with-geos --with-blas --with-lapack --with-postgres \<br>> --with-zstd-libs=/home/user/grass/zstd/zstd-1.4.0/lib/ \<br>> --with-zstd-includes=/home/user/grass/zstd/zstd-1.4.0/lib/ <br>><br>> The freetype and zstd are in my home because they are not available on the cluster, so I had to create them locally.<br>> 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?<br>><br>> Thanks a lot<br>><br>> Laura<br>><br>><br>><br>> On Thu, 19 Dec 2019 at 23:36, Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>> wrote:<br>>><br>>> On Thu, Dec 19, 2019 at 8:12 AM Laura Poggio <<a href="mailto:laura.poggio@gmail.com" target="_blank">laura.poggio@gmail.com</a>> wrote:<br>>> ><br>>> > Dear list,<br>>> > I am trying to compile grass 7.8.2 on an HPC cluster using centos 7 as operative system. I can not install binaries.<br>>><br>>> Just to understand: for policy reasons?<br>>><br>>> > I need to compile from source.<br>>> ><br>>> > The python version I am using is Python 3.7.4<br>>> ><br>>> > The configure and the make are working fine.<br>>><br>>> Importantly, pls post your "configure" command to better understand<br>>> the error below:<br>>><br>>> > However I get the following errors at the make install stage:<br>>> ><br>>> > rm /home/user/grass//grass78/etc/fontcap<br>>> > rm: cannot remove ‘/home/user/grass//grass78/etc/fontcap’: No such file or directory<br>>> > make[1]: [real-install] Error 1 (ignored)<br>>> > make /home/user/grass//grass78/etc/fontcap<br>>> > make[2]: Entering directory `/home/user/grass/grass-7.8.2'<br>>> > 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.<br>>> > make[2]: Leaving directory `/home/user/grass/grass-7.8.2'<br>>> > make[1]: *** [real-install] Error 2<br>>> > make[1]: Leaving directory `/home/user/grass/grass-7.8.2'<br>>> > make: *** [install] Error 2<br>>> ><br>>> > Am I missing some dependencies in the fonts?<br>>><br>>> ... probably in the configure step.<br>>><br>>> > Is the python version ok or should I use a slightly older 3.x one?<br>>><br>>> That should be fine.<br>>><br>>> > are there any recommendations for the gcc version to use?<br>>><br>>> No special recommendations.<br>>><br>>> Best wishes<br>>> Markus<br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>
</blockquote></div>