facebook / facebook/watchman

[Fedora 31] pyconfig.h no such file or directory

Open
#863 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

When building current master on Fedora 31 with all dependencies installed `./autogen.sh` seems to have issues finding the proper dependencies since Fedora seems to work with a different include directory `/usr/include/python3.7m` instead of `/usr/include/python3.7` after a little bit of searching around I decided to just symlink the `m` directory to where the expected directory would be and now everything seems to be working.
I still feel like this is a rather bad workaround and am now wondering if a) there's a way to manually set the include directory or b) fix whatever is causing the `./autogen.sh` to look in the wrong directory in the first place which in my case didn't even exist.

I'm not really familiar with the project but would be happy to contribute a fix for this, probably would need a little guidance though.

Cheers!

Edit: changed autoconfigure to autogen

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.