-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Add CentOS (7) checks and feedback in configure script #3637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… be used to compare absolute version numbers (integers, perhaps) with version strings Add CentOS (7) vendor check in with Fedora build commands, including some feedback if yum fails on any of the dependencies
@@ -184,3 +184,34 @@ function GetDistro { | |||
fi | |||
export DISTRO | |||
} | |||
|
|||
function CompareVersionStrings () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is copypasted from http://stackoverflow.com/questions/4023830/bash-how-compare-two-strings-in-version-format and cannot be used in this project because cc by-sa 3.0
is not compatible with GNU GPLv3
. Furthermore, this function is useless for this change and should be removed
Move CentOS version check to in-line elif statement
Apologies, I meant to add a comment - not close the PR. The bash script updates have been made as requested. Please consider this latest PR. |
@dave-docnet LGTM, thanks! |
Purpose:
I speculatively changed the configure script to check for "CentOS" instead of "Fedora", after considering that their base packages share some RHEL inheritance, and the build just worked. Having found though that some dependencies come from the non-standard epel repo, I have also added some checks to ensure that the dep installation from yum succeeds entirely before continuing, while giving some feedback if not.
Commit messages: