1. yum groupinstall 'Development tools' 2. yum install -y geoip-devel libcurl-devel libxml2-devel libxslt-devel libgb-devel lmdb-devel openssl-devel pcre-devel perl-ExtUtils-Embed yajl-devel zlib-devel 3. cd /opt 4. git clone --depth 1 -b v3/master https://github.com/SpiderLabs/ModSecurity.git 5. cd ModSecurity 6. git submodule init 7. git submodule update 8. ./build.sh 9. ./configure
And below is the result
As we can tell, step 2 we have installed yajl-devel and geoip-devel but why is the dependencies not found?
Realized when I try to install
yajl-devel individually, both giving me No Package available error. Wondering how should I install them?
Below is the output
[[email protected] nginx]# yum install -y geoip-devel Loaded plugins: amazon-id, rhui-lb, search-disabled-repos No package geoip-devel available. Error: Nothing to do
The packages you are missing are in the RHEL optional channel, which you need to enable.
yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.