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

error: 'Python.h' file not found with <angled> include; use "quotes" instead #4

Open
adityanz opened this issue Feb 16, 2022 · 1 comment

Comments

@adityanz
Copy link

==> Installing domq/gdb/gdb
==> Patching
==> ../configure --enable-targets=all --prefix=/usr/local/homebrew/Cellar/gdb/10
==> make

Last 15 lines from /Users/username/Library/Logs/Homebrew/gdb/02.make:
^~~~~~~~~~~~~~~
In file included from ../../gdb/python/py-cmd.c:24:
../../gdb/python/python-internal.h:86:10: error: 'Python.h' file not found with include; use "quotes" instead
#include <Python.h>
^~~~~~~~~~
"Python.h"
../../gdb/python/python-internal.h:87:10: fatal error: 'frameobject.h' file not found
#include <frameobject.h>
^~~~~~~~~~~~~~~
2 errors generated.
make[2]: *** [python/py-cmd.o] Error 1
2 errors generated.
make[2]: *** [python/py-continueevent.o] Error 1
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2

@adityanz
Copy link
Author

When I did the build it was using python 3.9 but doing brew install gdb was using python 3.10 inspiration from here https://gist.github.com/mike-myers-tob/9a6013124bad7ff074d3297db2c98247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant