Giter VIP home page Giter VIP logo

Comments (4)

osandov avatar osandov commented on May 17, 2024

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.

Whishay avatar Whishay commented on May 17, 2024

#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.

osandov avatar osandov commented on May 17, 2024

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.

Whishay avatar Whishay commented on May 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.