Comments (4)
Interesting, it works on my Fedora 30 VM. Could you please share the output of:
python3 -c 'import sysconfig; print(sysconfig.get_path("include"))'
And ls
of whatever path that tells you.
from drgn.
#python3 -c 'import sysconfig; print(sysconfig.get_path("include"))'
/usr/include/python3.7m
#ls -l /usr/include/python3.7m/Python.h
-rw-r--r--. 1 root root 3554 7月 9 02:03 /usr/include/python3.7m/Python.h
#rpm -qf /usr/include/python3.7m/Python.h
python3-devel-3.7.4-1.fc30.x86_64
from drgn.
Hm, that's weird. If the file wasn't there, then it shouldn't have made it past the configure step, but clearly it is, so it should work. Can you try doing a build from a clean repo?
git clean -dqfx
python3 setup.py build
And if that doesn't work, can you share the full build output and the output of grep PYTHON_CPPFLAGS build/temp.*/Makefile
?
from drgn.
I manually tweaked the Makefile under temp* and it works.
DEFAULT_INCLUDES = -I. -I$(srcdir) -I/usr/include/python3.7m/
Also, it works with a clean build after that.
Thanks osandov.
from drgn.
Related Issues (20)
- Support floating-point values other than 32 or 64 bits
- Support complex types/values
- Support debugging programs written in C++
- Support debugging programs written in Rust
- Port optimized LEB128 decoder from fbthrift
- Add disassembler HOT 1
- Module API HOT 2
- Properly index debug info from `gnu_debugaltlink` file
- add helper for netdev_priv()
- add helper for skb_shinfo()
- Support `DW_OP_{,GNU_}entry_value`, `DW_TAG_{,GNU_}call_site`, and `DW_TAG_{,GNU_}call_parameter`
- Packit failing on ELN
- 'ValueError: not an ELF core file' error on ubuntu HOT 8
- Support tail calls in stack traces HOT 1
- Support looking up types in C++ without the `struct`/`class`/`union`/`enum` keyword
- Support C++ nested classes HOT 1
- Allow overriding / providing vmcoreinfo data HOT 4
- Python API for PRSTATUS HOT 4
- Handle private APIs removed in Python 3.13 HOT 1
- Nearly 3-hour CI runs HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drgn.