-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can't compile on Alpine Linux #12
Comments
This issue also occurs on Ubuntu 17.04.
|
We had a similar issue, and we did first tried to solve it by updating the g++ and make binaries. But i think the issue was gone after we've ensured to match the GDAL version which were used to generate the ruby bindings in this gem to the GDAL version of the includes and libs installed on the system. Any GDAL source version can be downloaded from https://trac.osgeo.org/gdal/wiki/DownloadSource. Judging from the CHANGELOG.md of this repository, gdal 1.10.1 was last used to generate swig ruby gdal bindings. I've created a 1.11.5 (last before 2.x) branch with regenerated bindings at: github.com/svilenkov/gdal-ruby/tree/gdal-1.11.5 in case you are interested in that version, but keep in mind that it's not tested fully yet. |
confirming I am having the same issue with any version of GDAL > 2.x, so ended up installing 1.11.5 . |
@mauroc I think they have removed ruby bindings due to lack of a maintainer from GDAL version 2.X. Not sure which exact version, but there are bindings up to some 2.x version. see https://trac.osgeo.org/gdal/wiki/GdalOgrInRuby You might wanna try this: https://github.com/aleksejleonov/gdal-ruby/wiki/GDAL-Ruby-SWIG-bindings |
I'm trying to install
ruby-gdal
on a Docker container based on Alpine Linux, but the build fails with a compiler error:Here are the compiler versions:
Here is the full error log:
The text was updated successfully, but these errors were encountered: