とりあえずsyslog-ng-1.6.11をインストールしてみる
syslog-ng-1.6.11.tar.gz をKURO-BOX付属のCDROMからKURO-BOXにコピーして、展開しておく。
/home/work # tar xzf syslog-ng-1.6.11.tar.gz /home/work # cd syslog-ng-1.6.11/ /home/work/syslog-ng-1.6.11 # ./configure --disable-debug -q
checking how to enable static linking for certain libraries... head: invalid option -- 1 BusyBox v1.1.1 (2006.11.29-02:37+0000) multi-call binary Usage: head [OPTION]... [FILE]... Print first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input. Options: -n NUM Print first NUM lines instead of first 10 no clues, linking everything dynamically, please send appropriate ld arguments to syslog-ng@lists.balabit.hu config.status: error: cannot find input file: doc/Makefile.in
とりあえず継続...
/home/work/syslog-ng-1.6.11 # make -s
Making all in src config.status: creating src/config.h config.status: src/config.h is unchanged Making all in . Making all in tests Making all in contrib make[1]: *** No rule to make target `/nas-apps-targetbuild/src/syslog-ng-1.6.11/configure.in', needed by `/nas-apps-targetbuild/src/syslog-ng-1.6.11/contrib/Makefile.in'. Stop.
sounds too bad.
よろしくない。
何が悪いんだろうか。
configure で出てくる doc* が無いというのが気になる。
/home/work/syslog-ng-1.6.11 # cd doc /home/work/syslog-ng-1.6.11/doc/ # ls
何も無い....
Makefile自体存在していないし、ドキュメントらしきものも認められない。
docをビルドするルールを削除...
TODO: Paste udiff here... Now printing
もう1回。
/home/work/syslog-ng-1.6.11 # ./configure --disable-debug -q
checking how to enable static linking for certain libraries... head: invalid option -- 1 BusyBox v1.1.1 (2006.11.29-02:37+0000) multi-call binary Usage: head [OPTION]... [FILE]... Print first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input. Options: -n NUM Print first NUM lines instead of first 10 no clues, linking everything dynamically, please send appropriate ld arguments to syslog-ng@lists.balabit.hu
一応、OKとする。
次。
失敗することを前提にサイレントモードを解除した状態でMake。
/home/work/syslog-ng-1.6.11 # make
cd /home/work/syslog-ng-1.6.11 && /bin/bash /home/work/syslog-ng-1.6.11/missing --run aclocal-1.7 /home/work/syslog-ng-1.6.11/missing: line 46: aclocal-1.7: command not found WARNING: `aclocal-1.7' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd /home/work/syslog-ng-1.6.11 && \ /bin/bash /home/work/syslog-ng-1.6.11/missing --run automake-1.7 --foreign Makefile /home/work/syslog-ng-1.6.11/missing: line 46: automake-1.7: command not found WARNING: `automake-1.7' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd /home/work/syslog-ng-1.6.11 && /bin/bash /home/work/syslog-ng-1.6.11/missing --run autoconf /usr/bin/autoconf: exec: 267: /usr/bin/autom4te: not found make: *** [/home/work/syslog-ng-1.6.11/configure] Error 1
以下のものが必要と判明。
- automake (aclocal-1.7)
- autoconf (autom4te)