Skip to content
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

Broken zlib detection on OpenSUSE #519

Closed
stefan6419846 opened this issue Mar 13, 2024 · 2 comments
Closed

Broken zlib detection on OpenSUSE #519

stefan6419846 opened this issue Mar 13, 2024 · 2 comments
Assignees
Labels
bug Something isn't working platform issue Issue is specific to an OS or desktop priority-low
Milestone

Comments

@stefan6419846
Copy link

I tried to build the package on OpenSUSE 15.4, but for some reasons I got told:

checking for library containing gzgets... no
configure: error: HTMLDOC requires zlib.

After changing the offending line of configure.ac from

AC_SEARCH_LIBS([gzgets], [z], [
to

AS_IF([$PKGCONFIG --exists zlib], [

and regenerating the configure script, everything worked fine afterwards.

@michaelrsweet
Copy link
Owner

Not every OS uses pkg-config, so we need to use the AC_SEARCH_LIBS if there is no zlib package file.

@michaelrsweet michaelrsweet self-assigned this Mar 13, 2024
@michaelrsweet michaelrsweet added bug Something isn't working platform issue Issue is specific to an OS or desktop priority-low labels Mar 13, 2024
@michaelrsweet michaelrsweet added this to the Stable milestone Mar 13, 2024
@michaelrsweet
Copy link
Owner

[master 6d7d843] Use pkg-config for initial zlib check (Issue #519)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform issue Issue is specific to an OS or desktop priority-low
Projects
None yet
Development

No branches or pull requests

2 participants