Open kaiwan opened 6 years ago
I ran into the same problem today and was able to fix it by switching to python2.7 and installing libpython2.7-dev (that's the package name on my Ubuntu system, anway). For some reason, the headers of the python library are needed by coccinelle/spatch.
I ran into the same problem today and was able to fix it by switching to python2.7 and installing libpython2.7-dev (that's the package name on my Ubuntu system, anway). For some reason, the headers of the python library are needed by coccinelle/spatch.
Thanks @mikulcak ! I'll check when i get some time...
@mikulcak : just curious; what do you use the Cquats project for? is it useful to you? pl provide any feedback, it will help, thanks v much!
To be honest, I only stumbled upon that problem and your issue while trying to get coccinelle to run from source, because I wanted to run some tests on the Linux kernel as part of a safety assessment. Your framework looks really interesting, though!
The Coccinelle tool internally uses 'spatch'. spatch seems to fail on Fedora - tested on FC 26 - with the foll error:
"init_defs_builtins: /usr/lib64/coccinelle/standard.h Py.find_library: unable to find the Python library"
-above message repeats..