安装snort时的问题--帮助新手呀,谢谢

由 jlqidan 在 07-30-2004 16:00 发表:

安装snort时的问题--帮助新手呀,谢谢

下面信息是make时的出错信息,执行./configure命令时都没问题。我是root登陆的,虽然通过Xmanager,但是在Linux本机执行这些操作一样是这样的。请问那些没有的文件我怎么弄到呢?谢谢

make all-recursive

make[1]: Entering directory `/root/snort/snort-2.1.1'

Making all in src

make[2]: Entering directory `/root/snort/snort-2.1.1/src'

Making all in sfutil

make[3]: Entering directory `/root/snort/snort-2.1.1/src/sfutil'

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -Ihttp://src -Ihttp://src/sfutil -I/usr/include/pcap -Ihttp://src/output-plugins -Ihttp://src/detection-plugins -Ihttp://src/preprocessors -Ihttp://src/preprocessors/flow -Ihttp://src/preprocessors/portscan -Ihttp://src/preprocessors/flow/int-snort -Ihttp://src/preprocessors/HttpInspect/include -I/usr/include/pcre -g -O2 -Wall -c test -f 'sfghash.c' || echo './'sfghash.c

sfghash.c:36:20: string.h: \x{6CA1}\x{6709}\x{90A3}\x{4E2A}\x{6587}\x{4EF6}\x{6216}\x{76EE}\x{5F55}

In file included from sfghash.c:39:

sfghash.h:15:20: string.h: \x{6CA1}\x{6709}\x{90A3}\x{4E2A}\x{6587}\x{4EF6}\x{6216}\x{76EE}\x{5F55}

In file included from sfghash.h:18,

from sfghash.c:39:

sfhashfcn.h:8:20: string.h: \x{6CA1}\x{6709}\x{90A3}\x{4E2A}\x{6587}\x{4EF6}\x{6216}\x{76EE}\x{5F55}

sfghash.c: In function `sfghash_new':

sfghash.c:134: warning: implicit declaration of function `memset'

sfghash.c: In function `sfghash_add':

sfghash.c:274: warning: implicit declaration of function `strlen'

sfghash.c:298: warning: implicit declaration of function `strcmp'

sfghash.c:327: warning: implicit declaration of function `memcpy'

sfghash.c: In function `sfatom_add':

sfghash.c:715: warning: implicit declaration of function `strdup'

sfghash.c:715: warning: passing arg 2 of `sfghash_add' makes pointer from integer without a cast

make[3]: *** [sfghash.o] Error 1

make[3]: Leaving directory `/root/snort/snort-2.1.1/src/sfutil'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/root/snort/snort-2.1.1/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/snort/snort-2.1.1'

make: *** [all] Error 2


由 skynet 在 07-30-2004 17:52 发表:


configure 使用了什么选项?


由 jlqidan 在 07-30-2004 17:58 发表:


没用任何选项


由 skynet 在 07-31-2004 05:59 发表:


安装之前SNORT要装zlib、libpacp的


由 jlqidan 在 08-02-2004 09:03 发表:


libpacp,这个装了。


由 skynet 在 08-02-2004 15:34 发表:


tar -zxvf zlib*

cd zlib

./configure;make test

make install

tar -zxvf libpcap*

./configure

make

make install

如果数据库MYSQL在安装时,加入--with-mysql=MYSQL安装路径。

www.snort.org上有好资料的。


由 jlqidan 在 08-03-2004 09:31 发表:


skynet

再麻烦你一下,zlib和libcap一般都是在哪个目录下?是系统自带?还是snort这类软件里就有?我执行你的解压安装命令找不到那个文件。

下面是我locate zlib后显示的信息,谢谢!

/var/www/manual/mod/mod_php4/de/ref.zlib.html

/var/www/manual/mod/mod_php4/es/ref.zlib.html

/var/www/manual/mod/mod_php4/es/reserved.constants.zlib.html

/var/www/manual/mod/mod_php4/fr/ref.zlib.html

/var/www/manual/mod/mod_php4/it/ref.zlib.html

/var/www/manual/mod/mod_php4/ja/ref.zlib.html

/var/www/manual/mod/mod_php4/ja/reserved.constants.zlib.html

/var/www/manual/mod/mod_php4/ko/ref.zlib.html

/var/www/manual/mod/mod_php4/pt_BR/ref.zlib.html

/var/www/manual/mod/mod_php4/pt_BR/reserved.constants.zlib.html

/var/www/manual/mod/mod_php4/ref.zlib.html

/var/www/manual/mod/mod_php4/reserved.constants.zlib.html

/usr/X11R6/include/X11/extensions/lbxzlib.h

/usr/share/doc/zlib-1.1.4

/usr/share/doc/zlib-1.1.4/README

/usr/share/doc/zlib-devel-1.1.4

/usr/share/doc/zlib-devel-1.1.4/algorithm.txt

/usr/share/doc/zlib-devel-1.1.4/ChangeLog

/usr/share/doc/zlib-devel-1.1.4/example.c

/usr/share/doc/zlib-devel-1.1.4/minigzip.c

/usr/share/doc/python-docs-2.2.3/html/lib/module-zlib.html

/usr/share/apps/quanta/doc/php/ref.zlib.html

/usr/share/apps/quanta/tags/php/zlib.tag

/usr/share/man/man3/zlib.3.gz

/usr/share/aclocal/Installed_Packages/check_zlib.m4

/usr/include/zlib.h

/usr/include/bzlib.h

/usr/include/mozilla-1.4/zlib

/usr/include/mozilla-1.4/zlib/zconf.h

/usr/include/mozilla-1.4/zlib/zlib.h

/usr/include/mozilla-1.4/nss/jzlib.h

/usr/lib/python2.2/lib-dynload/zlibmodule.so

/usr/lib/python2.2/test/output/test_zlib

/usr/lib/python2.2/test/test_zlib.py

/usr/lib/python2.2/encodings/zlib_codec.py

/usr/lib/python2.2/encodings/zlib_codec.pyc

/usr/lib/python2.2/encodings/zlib_codec.pyo

/usr/lib/ruby/1.8/i386-linux-gnu/zlib.so

/usr/src/linux-2.4.22-1.2061.nptl/arch/ppc/boot/include/zlib.h

/usr/src/linux-2.4.22-1.2061.nptl/arch/ppc/boot/lib/zlib.c

/usr/src/linux-2.4.22-1.2061.nptl/arch/ppc64/boot/zlib.c

/usr/src/linux-2.4.22-1.2061.nptl/arch/ppc64/boot/zlib.h

/usr/src/linux-2.4.22-1.2061.nptl/fs/jffs2/compr_zlib.c

/usr/src/linux-2.4.22-1.2061.nptl/include/linux/zlib.h

/usr/src/linux-2.4.22-1.2061.nptl/lib/zlib_deflate

/usr/src/linux-2.4.22-1.2061.nptl/lib/zlib_deflate/Makefile

/usr/src/linux-2.4.22-1.2061.nptl/lib/zlib_deflate/.depend

/usr/src/lin

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus