|
有哪位大哥装过Linux下的logcheck.我按照网上教程的安装.下载包logcheck-1.1.1.tar.gz解压后vi Makefile修改了
CC = cc
改为:
CC = egcs
CFLAGS = -O
改为:
CFLAGS = -O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions
INSTALLDIR = /usr/local/etc
改为:
INSTALLDIR = /etc/logcheck
INSTALLDIR_BIN = /usr/local/bin
改为:
INSTALLDIR_BIN = /usr/bin
INSTALLDIR_SH = /usr/local/etc
改为:
INSTALLDIR_SH = /usr/bin
TMPDIR = /usr/local/etc/tmp
改为:
TMPDIR = /etc/logcheck/tmp
接着vi +67 Makefile修改如下
@if [ ! -d $(TMPDIR) ]; then /bin/mkdir $(TMPDIR); fi
改为:
@if [ ! -d $(TMPDIR) ]; then /bin/mkdir -p $(TMPDIR); fi
但在下一步安装Logcheck:
[root@deep logcheck-1.1.1]# make linux
根本没这个SHELL啊.请高手赐教. |
|