Chinaunix
标题:
求教:solaris11上安装ossec一直出错
[打印本页]
作者:
homotollby
时间:
2012-08-21 12:03
标题:
求教:solaris11上安装ossec一直出错
参照
http://security.ctocio.com.cn/wpsummary/352/8273852.shtml
,在virtualbox solaris11 上安装ossec,前面部分和那个教程里一样顺利,但是到第五步一直出错:
……
5- Installing the system
- Running the Makefile
*** Making zlib (by Jean-loup Gailly and Mark Adler) ***
gcc -c -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DUSE_OPENSSL -DSOLARIS -DHIGHFIRST -DARGV0=\"zlib\" -DXML_VAR=\"var\" -DOSSECHIDS *.c
ar cru libz.a *.o
ar: cannot rename arjyaWge to libz.a: Text file busy
*** Error code 1
make: Fatal error: Command failed for target `shared'
Current working directory /mnt/sf_shared_folders/ossec-hids-2.6/src/external/zlib-1.2.3
cp -pr zlib.h zconf.h ../../headers/
cp -pr libz.a ../
*** Making os_xml ***
gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DUSE_OPENSSL -DSOLARIS -DHIGHFIRST -DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c os_xml_access.c os_xml_node_access.c os_xml_variables.c os_xml_writer.c
ar cru os_xml.a os_xml.o os_xml_access.o os_xml_node_access.o os_xml_variables.o os_xml_writer.o
ar: cannot rename arZ7a4ie to os_xml.a: Text file busy
*** Error code 1
make: Fatal error: Command failed for target `xml'
Current working directory /mnt/sf_shared_folders/ossec-hids-2.6/src/os_xml
Error Making os_xml
*** Error code 1
The following command caused the error:
/bin/sh ./Makeall all
make: Fatal error: Command failed for target `all'
Error 0x5.
Building error. Unable to finish the installation.
root@solaris11-11:/mnt/sf_shared_folders/ossec-hids-2.6# uname -a
SunOS solaris11-11 5.11 11.0 i86pc i386 i86pc
作者:
hannius_lei
时间:
2012-11-30 15:13
centos5.5 、6.2、freeBSD、XP、2003测试各有产生错误,不过还没有像LZ那样致命的
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2