Config changes needed to build on CentOS 6 with newer GCC #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These changes will probably need to be handled in a better way, but wanted
to start with what I have now to determine the proper fix moving forward.
Due to a newer-than-standard GCC being installed on our system (6.3.1),
some additional changes (mostly pulled from the Ubuntu 16.04 config) were
needed to get a full build.
The 'url' additions to device-mapper and libvirt were needed to allow
the tarballs to be extracted.
The '--with-user'/'--with-group' additions to device-mapper were needed
to build as non-root (otherwise installation of certain files failed as
it tried to chown them).
As it stands, not everyone should be building with a newer GCC on CentOS 6,
so probably finding a way to conditionalize on the version of GCC would be
a better solution, but I'm unsure of how to do this, being a bit new to buildout.
Suggestions greatly appreciated.