免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7304 | 回复: 2
打印 上一主题 下一主题

LINUX下nrpe的安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-12-14 16:24 |只看该作者 |倒序浏览
现在公司要用NAGIOS监控一台LINUX主机,所以我按正常步骤安装nrpe,但是当我nrpe装到make all的时候就报错了,请大家帮我解决下,越快越好....以下是报错的内容,LINUX主机是64位的.....急等


[root@localhost nrpe-2.12]# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/home/tianhao/nrpe-2.12/src'
gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib  -lssl -lcrypto -lnsl -lwrap  
在包含自 /usr/include/openssl/e_os2.h:56 的文件中,
                 从 /usr/include/openssl/asn1.h:63,
                 从 /usr/include/openssl/rsa.h:62,
                 从 ../include/config.h:238,
                 从 ../include/common.h:24,
                 从 nrpe.c:21:
/usr/include/openssl/opensslconf.h:25:32: 错误:opensslconf-x86_64.h:没有那个文件或目录
In file included from /usr/include/openssl/asn1.h:74,
                 from /usr/include/openssl/rsa.h:62,
                 from ../include/config.h:238,
                 from ../include/common.h:24,
                 from nrpe.c:21:
/usr/include/openssl/bn.h:288: 错误:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:304: 错误:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:450: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_mod_word’
/usr/include/openssl/bn.h:451: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_div_word’
/usr/include/openssl/bn.h:452: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:453: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:454: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:455: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:456: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_get_word’
/usr/include/openssl/bn.h:471: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:764: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_add_words’
/usr/include/openssl/bn.h:765: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_words’
/usr/include/openssl/bn.h:766: 错误:expected ‘)’ before ‘*’ token
/usr/include/openssl/bn.h:767: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_div_words’
/usr/include/openssl/bn.h:768: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_add_words’
/usr/include/openssl/bn.h:769: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_sub_words’
In file included from /usr/include/openssl/ssl.h:1010,
                 from ../include/config.h:242,
                 from ../include/common.h:24,
                 from nrpe.c:21:
/usr/include/openssl/ssl3.h:306: 错误:expected specifier-qualifier-list before ‘PQ_64BIT’
In file included from /usr/include/openssl/dtls1.h:64,
                 from /usr/include/openssl/ssl.h:1012,
                 from ../include/config.h:242,
                 from ../include/common.h:24,
                 from nrpe.c:21:
/usr/include/openssl/pqueue.h:73: 错误:expected specifier-qualifier-list before ‘PQ_64BIT’
/usr/include/openssl/pqueue.h:80: 错误:expected ‘)’ before ‘priority’
/usr/include/openssl/pqueue.h:89: 错误:expected declaration specifiers or ‘...’ before ‘PQ_64BIT’
In file included from /usr/include/openssl/ssl.h:1012,
                 from ../include/config.h:242,
                 from ../include/common.h:24,
                 from nrpe.c:21:
/usr/include/openssl/dtls1.h:92: 错误:expected specifier-qualifier-list before ‘PQ_64BIT’
在包含自 /usr/include/openssl/e_os2.h:56 的文件中,
                 从 /usr/include/openssl/asn1.h:63,
                 从 /usr/include/openssl/rsa.h:62,
                 从 ../include/config.h:238,
                 从 ../include/common.h:24,
                 从 utils.c:32:
/usr/include/openssl/opensslconf.h:25:32: 错误:opensslconf-x86_64.h:没有那个文件或目录
In file included from /usr/include/openssl/asn1.h:74,
                 from /usr/include/openssl/rsa.h:62,
                 from ../include/config.h:238,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/bn.h:288: 错误:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:304: 错误:expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:450: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_mod_word’
/usr/include/openssl/bn.h:451: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_div_word’
/usr/include/openssl/bn.h:452: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:453: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:454: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:455: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:456: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_get_word’
/usr/include/openssl/bn.h:471: 错误:expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:764: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_add_words’
/usr/include/openssl/bn.h:765: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_words’
/usr/include/openssl/bn.h:766: 错误:expected ‘)’ before ‘*’ token
/usr/include/openssl/bn.h:767: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_div_words’
/usr/include/openssl/bn.h:768: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_add_words’
/usr/include/openssl/bn.h:769: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_sub_words’
In file included from /usr/include/openssl/ssl.h:1010,
                 from ../include/config.h:242,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/ssl3.h:306: 错误:expected specifier-qualifier-list before ‘PQ_64BIT’
In file included from /usr/include/openssl/dtls1.h:64,
                 from /usr/include/openssl/ssl.h:1012,
                 from ../include/config.h:242,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/pqueue.h:73: 错误:expected specifier-qualifier-list before ‘PQ_64BIT’
/usr/include/openssl/pqueue.h:80: 错误:expected ‘)’ before ‘priority’
/usr/include/openssl/pqueue.h:89: 错误:expected declaration specifiers or ‘...’ before ‘PQ_64BIT’
In file included from /usr/include/openssl/ssl.h:1012,
                 from ../include/config.h:242,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/dtls1.h:92: 错误:expected specifier-qualifier-list before ‘PQ_64BIT’
make[1]: *** [nrpe] 错误 1
make[1]: Leaving directory `/home/tianhao/nrpe-2.12/src'

*** Compile finished ***

If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.

Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

论坛徽章:
1
技术图书徽章
日期:2014-04-24 15:53:17
2 [报告]
发表于 2010-12-16 13:34 |只看该作者
rpm 方式

论坛徽章:
0
3 [报告]
发表于 2013-10-10 14:00 |只看该作者
没装OPENSSL吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP