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
Build failure without libpng installed with -DGDAL_USE_PNG=OFF
#5742
Comments
Very similar to #5741. I don't know enough about GDAL to quickly spot where the missing conditionals are, as I odn't know which plugins make sense without PNG (and JPEG -- which is harder to follow as an outsider b/c of the internal version too) respectively. |
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this issue
May 17, 2022
Force on jpeg & png for now. It's not ideal but reported both upstream and I lack the gdal internals knowledge to deduce whether the various plugins which depend on each of them are functional (enough?) without each of them. They're both pretty small dependencies and hard to avoid in general, although I accept it's an inconvenience, some of this stuff was fairly expected & unavoidable with the big port to CMake. Bug: OSGeo/gdal#5741 Bug: OSGeo/gdal#5742 Bug: https://bugs.gentoo.org/844751 Signed-off-by: Sam James <sam@gentoo.org>
rouault
added a commit
to rouault/gdal
that referenced
this issue
May 17, 2022
Thanks a lot for the fixes! |
Just built it without exception. Thanks for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior and actual behavior.
When libpng is not installed, the build fails:
Full log: build.log
Steps to reproduce the problem.
-DGDAL_USE_PNG=OFF
Operating system
Gentoo
GDAL version and provenance
3.5.0
The text was updated successfully, but these errors were encountered: