Jean - 记录成长历程

  • 关于
  • Language
  • RSS Feed
  • 微博
  • 豆瓣
21
Apr

实践证明xampp有点肾阳虚……

By admin|Linux系统|Be the first to comment!

xampp是www.apachefriends.org出的一个工具,用来快速搭建AMP的实验环境。各个平台的版本都有,深受广大人民群众的喜爱。

装nrpe的时候报错了

checking for SSL headers… configure: error: Cannot find ssl headers

从nrpe的configure中截取一段代码来说明这个问题

echo $ECHO_N “checking for SSL headers… $ECHO_C” >&6

        found_ssl=no

        for dir in $ssl_inc_dir $ssl_dir /usr/local/openssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr /usr/freeware/lib/openssl; do

                ssldir=”$dir”

                if test -f “$dir/include/openssl/ssl.h”; then

                        found_ssl=yes

                        CFLAGS=”$CFLAGS -I$dir/include/openssl -I$ssldir/include”

                        sslincdir=”$dir/include/openssl”

                        break

                fi

                if test -f “$dir/include/ssl.h”; then

                        found_ssl=yes

                        CFLAGS=”$CFLAGS -I$dir/include”

                        sslincdir=”$dir/include”

                        break

                fi

                if test -f “$dir/ssl.h”; then

                        found_ssl=yes

                        CFLAGS=”$CFLAGS -I$dir”

                        sslincdir=”$dir”

                        ssldir=”$dir/..”

                        break

                fi

                if test -f “$dir/openssl/ssl.h”; then

                        found_ssl=yes

                        CFLAGS=”$CFLAGS -I$dir/openssl”

                        sslincdir=”$dir/openssl”

                        ssldir=”$dir/..”

                        break

                fi

        done

 

        if test x_$found_ssl != x_yes; then

                { { echo “$as_me:$LINENO: error: Cannot find ssl headers” >&5

主要看test -f后面的内容,发现全是openssl-devel中的玩意,所以解决方法就是

yum install openssl-devel

期待xampp出个十全大补丸补丁,方面懒人使用,哈哈哈。

1、除特别说明外,本博客内容皆为原创,可以自由转载传播,但请署名及注明出处,不尊重别人劳动成果的不欢迎;

2、本博客内容遵守“署名-非商业性使用-禁止演绎 2.5 中国大陆”协议;

无觅相关文章插件,快速提升流量

Tagged as: nagios, nrpe, xampp
Add your comment →

0 Comments

Leave your comment below! Cancel Reply

点击取消回复

View More Posts:
  • ←
  • →

分类

  • Linux系统 (61)
  • Linux集群 (4)
  • Web服务器 (26)
  • 创业相关 (6)
  • 工作笔记 (34)
  • 我爱折腾 (16)
  • 日记 (46)
  • 网络 (3)
  • 脚本编程 (49)

最新日志

  • 使用w3 total cache给wordpress提速
  • 从零开始,我的创业感悟
  • 为大众创造更美好的日常生活
  • 我的站立式工作平台
  • 阿里云计算使用简评

最新评论

  • admin on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • jean on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • ElmaByrd35 on 解决Fedora 11中文字体难看问题

博客互联

  • HackLog
  • leapsoul
  • Myredhat
  • Ninth element
  • Ti’blog
  • William Hua
  • young001
  • 懒人运维
  • 曙光博客
  • 月夜
  • 月影
  • 杂货店一号铺
  • 王先进’s blog
  • 疯中舞步
  • 菜鸟的技术站
  • 运维进行时

技术

  • DBA BLOG
  • 回忆未来[张宴]
  • 扶凯
  • 王炜's Blog
  • 百变贝贝

Powered by the inLine Minimal WordPress Theme