Re: [RFC] Fix python feature detection

2019-07-14 Thread Joel Fernandes
On Sun, Jul 14, 2019 at 05:40:06PM +0200, Jiri Olsa wrote: > On Sun, Jul 07, 2019 at 10:44:17AM -0400, Joel Fernandes (Google) wrote: > > I am having a hard time building BPF samples by doing a make in > > samples/bpf. While I am debugging that, I ran into the Python issue. > > Even though the

Re: [RFC] Fix python feature detection

2019-07-14 Thread Jiri Olsa
On Sun, Jul 07, 2019 at 10:44:17AM -0400, Joel Fernandes (Google) wrote: > I am having a hard time building BPF samples by doing a make in > samples/bpf. While I am debugging that, I ran into the Python issue. > Even though the system has libpython2.7-dev: > > If I just do a 'make' inside

[RFC] Fix python feature detection

2019-07-07 Thread Joel Fernandes (Google)
I am having a hard time building BPF samples by doing a make in samples/bpf. While I am debugging that, I ran into the Python issue. Even though the system has libpython2.7-dev: If I just do a 'make' inside tools/build/feature/ I get: Python.h: No such file or directory This led me to this patch