pybind11 icon indicating copy to clipboard operation
pybind11 copied to clipboard

[BUG]: not able to install from source on Rocky Linux 8

Open arcturusannamalai opened this issue 6 months ago • 2 comments

Required prerequisites

  • [x] Make sure you've read the documentation. Your issue may be addressed there.
  • [x] Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
  • [x] Consider asking first in the Gitter chat room or in a Discussion.

What version (or hash if on master) of pybind11 are you using?

latest @ Git HEAD

Problem description

I'm not able to install from source on Rocky Linux 8; the cmake fails to build from the source with errors that are not meaningful to me.

Unfortunately not able to find any Python3.11-pybind11 YUM packages for Rocky Linux 8. This is a blocker for moving forward on few projects where PyBind11 dependency is critical.

Please advise.

Reproducible example code


Is this a regression? Put the last known working version here if it is.

Not a regression

arcturusannamalai avatar May 25 '25 18:05 arcturusannamalai

What are the errors? Please copy-paste them here and maybe they will be meaningful to us.

By the way, pybind11 is header only, there's nothing to build except our tests.

henryiii avatar May 27 '25 05:05 henryiii

(we don't "install" on it, but you can see our tests running on a CentOS 8-based system here: https://github.com/pybind/pybind11/blob/1c10d5e9b1e0cecf7401af735bb3bc515043760d/.github/workflows/ci.yml#L660 )

henryiii avatar May 27 '25 05:05 henryiii

Ah! thats useful to know; somehow I have missed this point. Thank you @henryiii

arcturusannamalai avatar Aug 04 '25 05:08 arcturusannamalai