chef / dep-selector-libgecode

Bundled Gecode Libraries for dep-selector
Apache License 2.0
11 stars 26 forks source link

Fix building issues on newer Debian and Ubuntu platforms #68

Closed ramereth closed 1 year ago

ramereth commented 1 year ago

This fixes the following error message when trying to build on Debian 12 or Ubuntu 22.04:

configure: error: cannot find required auxiliary files: config.guess config.sub

You can see an example of how this is currently failing here: https://gitlab.com/cinc-project/distribution/workstation/-/jobs/4914915772

I suspect this is due to the fact that this gem uses an ancient version of gecode which hasn't been updated to work on newer platforms and we're now running into issues after all these years.

The build commands will update the configure and Makefile scripts so that it works properly on the platform it's building on. The other changes in configure.ac are needed to also make those command work without any issues.

Signed-off-by: Lance Albertson lance@osuosl.org

Description

[Please describe what this change achieves]

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or StackOverflow discussions that are relevant]

Check List