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

Add pkg-config Support to Autotools Build #8

Open
xanderdunn opened this issue Sep 22, 2020 · 4 comments
Open

Add pkg-config Support to Autotools Build #8

xanderdunn opened this issue Sep 22, 2020 · 4 comments
Assignees
Labels
Component - Build CMake, Autotools Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Improvement Improvements that don't add a new feature or functionality

Comments

@xanderdunn
Copy link

As per Homebrew/homebrew-core#61490, I am trying to build a Linux and macOS cross-platform library that uses the HDF5 library. The compiler I'm using attempts to find the headers and libraries on both platforms via a pkg-config file. However, currently I can only find the hdf5.pc file on the Ubuntu apt installation of hdf5 and not in the macOS build of hdf5.

sudo apt install libhdf5-dev on Ubuntu 18.04 installs HDF5 1.10.0, while brew install installs 1.12.0. It appears the difference is that the macOS Homebrew build is using autotools rather than cmake for the build and currently HDF5 only produces the pkg-config for the cmake build. Could the HDF5 project potentially include a pkg-config output in its autotools build as well?

@tbeu
Copy link
Contributor

tbeu commented Feb 20, 2021

  • Why is this targeting milestone "HDF5 1.8.22 release", which is already released?
  • Why is milestone "HDF5 1.8.22 release" still open after release?

@byrnHDF
Copy link
Contributor

byrnHDF commented Feb 20, 2021

  • Why is this targeting milestone "HDF5 1.8.22 release", which is already released?
  • Why is milestone "HDF5 1.8.22 release" still open after release?

Thank you for pointing this out - we overlooked managing the milestone information.

@MarDiehl
Copy link

MarDiehl commented Nov 3, 2022

Note: Arch linux would also benefit from having pkg-config support:

https://github.com/archlinux/svntogit-community/blob/packages/hdf5/trunk/PKGBUILD

@derobins
Copy link
Member

We're going to be dropping Autotools support, so this will be closed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

No branches or pull requests

6 participants