Skip to content

Fail to install #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mmfjunior1 opened this issue Nov 6, 2017 · 1 comment
Closed

Fail to install #11

mmfjunior1 opened this issue Nov 6, 2017 · 1 comment
Assignees

Comments

@mmfjunior1
Copy link

Hi!
I have a ubuntu Server with modsecurity 2.9.
I tryed to run the make command in ModSecurity-Python-bindings. The following errors ocurred:
swig -I/usr/local/modsecurity/include/ -python -builtin -Wall -Wextra -c++ modsecurity/modsecurity.i
modsecurity/modsecurity.i:62: Error: Unable to find 'modsecurity/intervention.h'
modsecurity/modsecurity.i:63: Error: Unable to find 'modsecurity/collection/variable.h'
modsecurity/modsecurity.i:64: Error: Unable to find 'modsecurity/collection/collection.h'
modsecurity/modsecurity.i:65: Error: Unable to find 'modsecurity/collection/collections.h'
modsecurity/modsecurity.i:66: Error: Unable to find 'modsecurity/transaction.h'
modsecurity/modsecurity.i:67: Error: Unable to find 'modsecurity/debug_log.h'
modsecurity/modsecurity.i:68: Error: Unable to find 'modsecurity/modsecurity.h'
modsecurity/modsecurity.i:69: Error: Unable to find 'modsecurity/rules_properties.h'
modsecurity/modsecurity.i:70: Error: Unable to find 'modsecurity/rules.h'
modsecurity/modsecurity.i:71: Error: Unable to find 'modsecurity/rule.h'

Can I do anything else?
Thanks!

@zimmerle zimmerle self-assigned this Nov 24, 2017
@zimmerle
Copy link
Contributor

Hi @mmfjunior1,

Please make sure you have installed libModSecurity before try to compile the python bindings. The python bindings are specifically looking for ModSecurity headers at: ** /usr/local/modsecurity/include/**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants