Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Undocumented dependencies: gcc-c++ and python3-devel (on Linux) #27

Open
aseyffert opened this issue Oct 31, 2023 · 0 comments
Open

Undocumented dependencies: gcc-c++ and python3-devel (on Linux) #27

aseyffert opened this issue Oct 31, 2023 · 0 comments

Comments

@aseyffert
Copy link

aseyffert commented Oct 31, 2023

(I'm running Fedora Linux 37, and installing into a virtual environment provided by python's venv module. My python version is 3.11.6.)

I followed the installation instructions in README.md, but the build failed for celerite2, mphs, and P4J. These seem to be the only components that are compiled from source.

I worked through the tracebacks, did some digging, and resolved the issue by installing (via Fedora's repos):

  • gcc-c++, which provides a C++ compiler, and
  • python3-devel, which provides the necessary C++ header file(s); specifically: Python.h, but there might be others. (This must be installed prior to the creation of the venv virtual environment, since the header files are copied into the environment when it is created.)

Perhaps these dependencies can be documented in README.md?

(NOTE: I've yet to confirm that lc_classifier works as expected after this installation.)

@aseyffert aseyffert changed the title Unspecified non-python dependencies for building on Linux Undocumented dependencies: gcc-c++ and python3-devel (on Linux) Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant