mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fixing compilation problem on newer versions of gcc (Fedora 22+)
This commit is contained in:
parent
010c18f63f
commit
4e8bb276b8
@ -48,7 +48,7 @@ As a dynamic library, don’t forget that libmodsecurity must be installed to a
|
||||
|
||||
Several individuals have been building the project on Fedora (22 or later) succesfully. We were able to get it to build using the following packages. These packages have no been thoroughly tested yet so compile at your own risk. You may have to manually link the generated ModSecurity library file location if it is not put into a location that is in your path (export LD_LIBRARY_PATH=/usr/local/modsecurity/lib/).
|
||||
|
||||
```$ sudo dnf install gcc-c++ flex bison curl-devel curl yajl yajl-devel GeoIP-devel
|
||||
```$ sudo dnf install gcc-c++ flex bison curl-devel curl yajl yajl-devel GeoIP-devel doxygen
|
||||
$ cd /opt/
|
||||
$ git clone https://github.com/SpiderLabs/ModSecurity
|
||||
$ cd ModSecurity
|
||||
|
@ -39,8 +39,8 @@ void DebugLogWriterAgent::write(const std::string& msg) {
|
||||
}
|
||||
|
||||
*this << msg << std::endl;
|
||||
*this << flush();
|
||||
*this << std::flush;
|
||||
}
|
||||
|
||||
|
||||
} // namespace ModSecurity
|
||||
} // namespace ModSecurity
|
||||
|
Loading…
x
Reference in New Issue
Block a user