On Fri, Dec 23, 2016 at 1:01 AM, <[email protected]> wrote: > On Friday, 23 December 2016 01:49:18 UTC+5:30, Paul Moore wrote: >> On Thu, Dec 22, 2016 at 2:09 PM, <[email protected]> wrote: >> > Hello all, >> > >> > I installed libseccomp from source and I tried to "import seccomp" in >> > python. It did not work. I use Fedora. Do I have to configure some path >> > variable to use the library with python? Some help would be appreciated. >> >> How did you configure, build, and install the libseccomp python >> bindings? When you run 'make check' in the libseccomp sources do the >> python based regression tests execute without failure? Have you tried >> executing any of the libseccomp python regression tests outside of the >> libseccomp source tree, if so, what happened? > > No I did not run any tests. Should I?
Yes, please do. At the very least run 'make check' in the source directory after building libseccomp to ensure it was built correctly. Also, you did enable the python bindings when running configure, yes? (hint: try running './configure --help') In general, when things are working as you expect, attempting to run the included tests is a good place to start. When we make a new release I make sure that the tests all run correctly, so if the tests aren't working correctly on your system we can use those tests as a common base from which we can debug your problem. -- paul moore www.paul-moore.com -- You received this message because you are subscribed to the Google Groups "libseccomp" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
