-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Describe the bug
Following the documentation on the installation wiki, it is not possible to build ModSecurity.
To Reproduce
PCRE is installed, by configures gives this error:
configure: *** pcre library not found.
By symlinking the version I have installed with brew install pcre
(ln -s $(brew list pcre | grep 'pcre\.h$') others/pcre.h
) I get:
./configure: line 18091: syntax error near unexpected token `ON'
./configure: line 18091: `DX_HTML_FEATURE(ON)'
Which are related to doxygen
.
By removing those (since I do not need to build the documentation, I get:
./configure: line 18103: syntax error near unexpected token `sgcheck,'
./configure: line 18103: `AX_VALGRIND_DFLT(sgcheck, off)'
After removing ValGrind, I can execute make
but I stumble across this:
Makefile:3339: *** missing separator. Stop.
by removing the ValGrind check, I got this:
../src/operators/validate_dtd.h:39:31: error: unknown type name 'xmlDtdPtr'
explicit XmlDtdPtrManager(xmlDtdPtr dtd)
^
../src/operators/validate_dtd.h:49:5: error: unknown type name 'xmlDtdPtr'
xmlDtdPtr get() const {return m_dtd;}
^
../src/operators/validate_dtd.h:51:5: error: unknown type name 'xmlDtdPtr'
xmlDtdPtr m_dtd; // The resource being managed
that I was not able to patch.
Expected behavior
Compilation and installation of ModSecurity.
Server:
- ModSecurity 3.0.10
- OS: macOS Sonoma 14.0
AvalZ
Metadata
Metadata
Assignees
Labels
No labels