ModSecurity 3.0 on CentOS 6.9 (3)

先日の続き。3回目。

■ 環境

  • ModSecurity 3.0
  • CentOS 6.9
  • Vagrant 2.1.1
  • macOS High Sierra

■ 前回までの手順を整理

  1. install autoconf-2.69
  2. install automake-1.15
  3. error at ModSecurity build.sh

■ m4

前回`build.sh`を実行したところ下記のようなメッセージが出力されていた。

[root@localhost ModSecurity]# ./build.sh
  :
configure.ac:82: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/yajl.m4:4: PROG_YAJL is expanded from...
configure.ac:82: the top level
configure.ac:87: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/libgeoip.m4:10: PROG_GEOIP is expanded from...
configure.ac:87: the top level
configure.ac:91: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/libmaxmind.m4:10: PROG_MAXMIND is expanded from...
configure.ac:91: the top level
configure.ac:96: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/lmdb.m4:4: PROG_LMDB is expanded from...
  :

今までと同様に`m4`が古いからなのかな。ちなみにversionを確認すると下記であった。

[root@localhost ModSecurity]# m4 --version
m4 (GNU M4) 1.4.13
  :

`m4`の現時点での最新は”1.4.18“のようである。

[root@localhost ~]# curl --silent http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz | tar zx
[root@localhost ~]# cd m4-1.4.18/
[root@localhost m4-1.4.18]# ./configure
  :
[root@localhost m4-1.4.18]# make && make install
  :

■ ModSecurity

再度`build.sh`を実行する。

[root@localhost ModSecurity]# ./build.sh
  :
configure.ac:82: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/yajl.m4:4: PROG_YAJL is expanded from...
configure.ac:82: the top level
configure.ac:87: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/libgeoip.m4:10: PROG_GEOIP is expanded from...
configure.ac:87: the top level
configure.ac:91: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/libmaxmind.m4:10: PROG_MAXMIND is expanded from...
configure.ac:91: the top level
configure.ac:96: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
build/lmdb.m4:4: PROG_LMDB is expanded from...
  :

消えてくれない…。さてなんでだろう?としばらく悩んだが、コンパイルの順番を再度考えてインストールし直してみた。

  1. m4
  2. autoconf
  3. automake

と思ったが…よくみたら”YAJL/GEOIP/MAXMIND/LMDB“と今回は対象外のところでの発生ではないか…。”warning“だし消えなくてもまぁとりあえずは良いだろう…。ということで一旦心が折れたのでここまで。

以上。

■ 関連

ModSecurity 3.0 on CentOS 6.9 (1)

ModSecurity 3.0 on CentOS 6.9 (2)

コメントを残す

メールアドレスが公開されることはありません。

CAPTCHA


このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください