[GRASS-user] More Fun Compiling & Installing GRASS on CentOS 8

mdwxman mdwxman at protonmail.com
Fri Dec 18 18:27:10 PST 2020


This has become a very strange issue. This afternoon I attempted 8 variations on the compilation and all failed. The first thing I did was to check on the GDAL version and although it wasn't easy, it turns out that the conda installation from several weeks ago used GDAL 2.4... The GRASS version was the 7.7 version. So, I changed the subdirectory to the 3.0.4 GDAL version: /usr/include/gdal-config and the /usr/share/gdal subdirectories. But those failed too although I used the grass-7.8.5RC1 file. I also checked my logs and made sure I used the dnf install text for all the required software. I also tried the "--with-gdal --with-gdal-includes=/usr/include/gdal" configuration. All my attempts bombed.

It was interesting that dnf install noted that GDAL and GDAL-devel were the most recent and already on my file system. There are two additional tasks to do now. The first is to discover whether the GDAL and GDAL-devel version 3.0.4 version is the one to use for the compilation. Is it the most up-to-date? The other task is attempt to dig into other log files to determine if there is additional information.

After that I plan to remove all GRASS versions and related libraries if I can find them. I know I have two GRASS versions: 7.7 and 7.8.5 so perhaps there's a conflict hidden in the configuration. My other question revolves around gdal-config. There are two versions of gdal-config: one simply called "gdal-config" and the other called "gdal-config64" This machine (and all my networked machines) are x86_64 architecture. Is the configure script attempting to use one or the other and defaulting to the "Error: cannot find gdal-config" option. This type of thing has happened to me before and error messages can be notoriously difficult to understand.

Any other suggestions would be gladly entertained or even grasped or even prayed for!!

Michael Allen
Industrial Weather
763-777-1263

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, December 17, 2020 10:19 PM, mdwxman via grass-user <grass-user at lists.osgeo.org> wrote:

> Looks like more fun here at dog fur manor. I'm still stuck on the compilation of grass-7.8.5RC1 on CentOS 8.
>
> The script stops at line 6788 in the configure script with the ERROR message: Cannot find grass-config.
>
> I've moved grass-config to many different subdirectories but always with the same result. I used the methods on https://grasswiki.osgeo.org/wiki/Compile_and_Install#CentOS under the CentOS 8 and the GRASS 7 instructions. The installation of all dependencies went fine but apparently there is an issue with grass-config.
>
> And just think, I'm not even finished with the ./configure process. Am I missing something?
>
> Michael Allen
> Industrial Weather
> 763-777-1263
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20201219/abc28d07/attachment.html>


More information about the grass-user mailing list