after unsuccessful attempts to install Geoviewer on mac and centos 8, I am trying to install it on centos 7. I have tried to do it using rpm, source and tar. I am sending output of all of these.
in your log file you can find the following error message:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
This indicates that you are using a GNU compiler version 4.8.2 which is > 6 years old and does not implement a lot of standard language features. Please upgrade to at least version 7.2 or higher.
Thank you for reply! I have update already I just forgot to type “scl enable devtoolset-7 bash”. Do you think it is a good idea to add this line into .bashrc file?
That’s very strange. It almost looks as if there are no source files. Can you check the file permissions to ensure that everyone has read access to those files?
Could you then try to run the following commands to build from the source:
From your log file I see that geoviewer compiled successfully.
The problem is that you’re trying to install geoviewer under /usr/local/bin/flair.
I’m guessing that this is not the path where flair was actually expanded
but the shell script created from the rpm installation of flair for running the program.
Could you please do:
less /usr/local/bin/flair
If the output of the above will be:
#!/bin/sh
“/usr/local/flair/flair” $*
then you can go to the folder where you expanded and compiled geoviewer
( in your case ~/Downloads/flair-geoviewer-3.1 )
and type: