ModSecurity dependency not found?

Isaac asked:

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
5. cd ModSecurity
6. git submodule init
7. git submodule update
8. ./
9. ./configure

And below is the result

enter image description here

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 geoip-devel and 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

My answer:

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

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.