[GRASS-user] Installation Issues on CentOS8

I don’t often compile software on CentOS but even this one has me confused. I’m attempting to install some version of GRASS 7.8 on a CentOS 8 box and I’ve been attempting to do so, on off for the last 6 months.

There have been several different errors and I’ve attempted to use conda, conda with a local environment using Python 3.6., yum, and DNF. There are two types of errors: one is the failure to find the gui (g.gui). The other involves a complete stop.

This time I’ve used the grass-7.8.0.tar.gz files from the GRASS geo site. The lastest attempt results in a stop in the ./configure line at:

include/Make/Vars.make:1: included/Make/Platform.make: No such file or directory

Since it stopped I attempted to use:

make: *** No rule to make target ‘include/Make/’. Stop.

I’ve installed all required libraries and other applications (I think).

I am a newbie with compilers but does anyone have some help for this.

The machine is a Centos 8 machine with 7 Tb disk storage and running a 16-core Ryzen CPU at 4125 MHz.

Thanks. I hope someone can help.

···

Michael Allen

Industrial Weather

763-777-1263

Sent with ProtonMail Secure Email.

Michael,

On Wed, Dec 16, 2020 at 4:36 AM mdwxman via grass-user
<grass-user@lists.osgeo.org> wrote:

I don't often compile software on CentOS but even this one has me confused. I'm attempting to install some version of GRASS 7.8 on a CentOS 8 box and I've been attempting to do so, on off for the last 6 months.

I did the same and it was a bumpy ride. Reason: a lot of packages were
missing. I even had to become package maintainer in Fedora to push
PROJ and GDAL packages...

There have been several different errors and I've attempted to use conda, conda with a local environment using Python 3.6., yum, and DNF. There are two types of errors: one is the failure to find the gui (g.gui).

The GUI issue was there till the end of November. Reason: wxpython4
package missing, see here:

https://bugzilla.redhat.com/show_bug.cgi?id=1765573

It has finally been provided.

The other involves a complete stop.

This time I've used the grass-7.8.0.tar.gz files from the GRASS geo site.

Please use at least 7.8.4, soon 7.8.5 for relevant bugfixes:

https://trac.osgeo.org/grass/wiki/Release/7.8.5-News

The lastest attempt results in a stop in the ./configure line at:

include/Make/Vars.make:1: included/Make/Platform.make: No such file or directory

Since it stopped I attempted to use:

make: *** No rule to make target 'include/Make/'. Stop.

I've installed all required libraries and other applications (I think).

Please see here:

https://grasswiki.osgeo.org/wiki/Compile_and_Install#CentOS
--> Centos8

I am a newbie with compilers but does anyone have some help for this.

The machine is a Centos 8 machine with 7 Tb disk storage and running a 16-core Ryzen CPU at 4125 MHz.

THat should be perfectly fine.

Thanks. I hope someone can help.

Hope the Wiki instructions help - if not, let us know.

Markus

--
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

Thank you Markus. I’m glad I stuck with GRASS long enough to find a solution. I’m very fortunate to discover this user group, too. As I looked through the archive for the last two years I found lots of interesting and helpful messages.

One additional and brief question: in attempting to debug the script I’m curious regarding any software suggestions you might have for that task. Of course, experience & knowledge play a crucial role but any debugging software might be helpful. Any suggestions?

Thanks again. Your answers uniformly provide the reasons for the errors. Many thanks.

···

Michael Allen

Industrial Weather

763-777-1263

neteler@osgeo.org

Michael,

On Wed, Dec 16, 2020 at 4:36 AM mdwxman via grass-user
grass-user@lists.osgeo.org wrote:

I don’t often compile software on CentOS but even this one has me confused. I’m attempting to install some version of GRASS 7.8 on a CentOS 8 box and I’ve been attempting to do so, on off for the last 6 months.

I did the same and it was a bumpy ride. Reason: a lot of packages were
missing. I even had to become package maintainer in Fedora to push
PROJ and GDAL packages…

There have been several different errors and I’ve attempted to use conda, conda with a local environment using Python 3.6., yum, and DNF. There are two types of errors: one is the failure to find the gui (g.gui).

The GUI issue was there till the end of November. Reason: wxpython4
package missing, see here:

https://bugzilla.redhat.com/show_bug.cgi?id=1765573

It has finally been provided.

The other involves a complete stop.

This time I’ve used the grass-7.8.0.tar.gz files from the GRASS geo site.

Please use at least 7.8.4, soon 7.8.5 for relevant bugfixes:

https://trac.osgeo.org/grass/wiki/Release/7.8.5-News

The lastest attempt results in a stop in the ./configure line at:

include/Make/Vars.make:1: included/Make/Platform.make: No such file or directory

Since it stopped I attempted to use:

make: *** No rule to make target ‘include/Make/’. Stop.

I’ve installed all required libraries and other applications (I think).

Please see here:

https://grasswiki.osgeo.org/wiki/Compile_and_Install#CentOS
→ Centos8

I am a newbie with compilers but does anyone have some help for this.

The machine is a Centos 8 machine with 7 Tb disk storage and running a 16-core Ryzen CPU at 4125 MHz.

THat should be perfectly fine.

Thanks. I hope someone can help.

Hope the Wiki instructions help - if not, let us know.

Markus


Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

I noticed the issues with both the GDAL and PROJ packages. I’ve noticed that it can be difficult and sometimes impossible to find necessary packages on several Fedora repos. It makes things difficult and frustrating to install packages when even Conda can’t find necessary libraries.

···

Michael Allen

Industrial Weather

763-777-1263

neteler@osgeo.org

Michael,

On Wed, Dec 16, 2020 at 4:36 AM mdwxman via grass-user
grass-user@lists.osgeo.org wrote:

I don’t often compile software on CentOS but even this one has me confused. I’m attempting to install some version of GRASS 7.8 on a CentOS 8 box and I’ve been attempting to do so, on off for the last 6 months.

I did the same and it was a bumpy ride. Reason: a lot of packages were
missing. I even had to become package maintainer in Fedora to push
PROJ and GDAL packages…

There have been several different errors and I’ve attempted to use conda, conda with a local environment using Python 3.6., yum, and DNF. There are two types of errors: one is the failure to find the gui (g.gui).

The GUI issue was there till the end of November. Reason: wxpython4
package missing, see here:

https://bugzilla.redhat.com/show_bug.cgi?id=1765573

It has finally been provided.

The other involves a complete stop.

This time I’ve used the grass-7.8.0.tar.gz files from the GRASS geo site.

Please use at least 7.8.4, soon 7.8.5 for relevant bugfixes:

https://trac.osgeo.org/grass/wiki/Release/7.8.5-News

The lastest attempt results in a stop in the ./configure line at:

include/Make/Vars.make:1: included/Make/Platform.make: No such file or directory

Since it stopped I attempted to use:

make: *** No rule to make target ‘include/Make/’. Stop.

I’ve installed all required libraries and other applications (I think).

Please see here:

https://grasswiki.osgeo.org/wiki/Compile_and_Install#CentOS
→ Centos8

I am a newbie with compilers but does anyone have some help for this.

The machine is a Centos 8 machine with 7 Tb disk storage and running a 16-core Ryzen CPU at 4125 MHz.

THat should be perfectly fine.

Thanks. I hope someone can help.

Hope the Wiki instructions help - if not, let us know.

Markus


Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

On Wed, Dec 16, 2020 at 6:05 PM mdwxman <mdwxman@protonmail.com> wrote:

Thank you Markus. I’m glad I stuck with GRASS long enough to find a solution. I’m very fortunate to discover this user group, too. As I looked through the archive for the last two years I found lots of interesting and helpful messages.

Great, and yes, the GRASS GIS mailing lists a very useful resource
(btw: started in 1991!).

How can we advertise them better?

One additional and brief question: in attempting to debug the script I’m curious regarding any software suggestions you might have for that task. Of course, experience & knowledge play a crucial role but any debugging software might be helpful. Any suggestions?

You can find a collection of debugging suggestions here:
https://grasswiki.osgeo.org/wiki/GRASS_Debugging

Here your other question:

On Wed, Dec 16, 2020 at 6:10 PM mdwxman <mdwxman@protonmail.com> wrote:

I noticed the issues with both the GDAL and PROJ packages. I’ve noticed that it can be difficult and sometimes impossible to find necessary packages on several Fedora repos.

I suppose you refer to the Centos repos? That I also found annoying.
So much that I reformatted our server :p, switching to a different
distro.

However, the Fedora (not the same thing!) geo-related repos are
sufficiently well maintained.

It makes things difficult and frustrating to install packages when even Conda can’t find necessary libraries.

Yes. Feel free to contact me personally if you still lack packages on
Centos, maybe I have an idea.

Cheers
Markus

--
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog