免费注册 查看新帖 |

Chinaunix

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

在安装zenoss遇到的一些问题,请指教(以为是libc6-dev的问题)已经解决 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-20 15:41 |只看该作者 |倒序浏览
在安装时出现这样的提示:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
我google后,发现大都是指在linux上gcc缺少libc6-dev而产生的,请问在FreeBSD上应该怎样解决呢?(在linux上大都是apt-get这样                                                                                                   解决)
我查过port,没有相关的libc6-dev的,升级gcc吗?
gcc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
我用的是默认的版本,听说自行升级gcc 问题不少。

[ 本帖最后由 tt2nn 于 2007-6-20 22:15 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-06-20 15:50 |只看该作者
原帖由 tt2nn 于 2007-6-20 15:41 发表
checking for C compiler default output file name... configure: error: C compiler cannot create

这个信息看着怎么象是没有安装 g++ 导致的。

论坛徽章:
0
3 [报告]
发表于 2007-06-20 16:23 |只看该作者
FreeBSD# g++ --version
g++ (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

FreeBSD#
这样已经安装吧?

论坛徽章:
0
4 [报告]
发表于 2007-06-20 18:05 |只看该作者
暂时没想到其它可能的情况,不过给楼主两篇文章参考以下,希望对你有帮助:
Install Zenoss on FreeBSD 6.1
Install Zenoss on FreeBSD 6.2

论坛徽章:
0
5 [报告]
发表于 2007-06-20 19:14 |只看该作者
thanks, 我在发问题前有看过,也按着照做了,而且在下载包那也打开个安装说明看了,不过还是碰到问题,因为手头没有linux的服务器,所以未能测试其它情况下的。
对了 楼上有用过吗?感觉怎样呢?我只是看到他的排名高,下载来试下。

论坛徽章:
0
6 [报告]
发表于 2007-06-20 19:21 |只看该作者
请问其中的config.log在哪的呢?出错时我看,但我不知道看哪个。
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for a BSD-compatible install... /usr/bin/install -c
checking for style of include used by gmake... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

论坛徽章:
0
7 [报告]
发表于 2007-06-20 22:15 |只看该作者
找到解决方案了,原来在zenoss网上的FreeBSD用户也碰到过这样的问题:


他们的解决方案是:
Hi Valery,

We're not doing anything special with the plugins. You may wish to use an
older or newer version which builds correctly on FreeBSD, or use ports to
pull it down. (这应该是原因了)

You can remove "nagios-install" from the list of products-install in the
GNUmakefile, and you will skip right past it.


If you upgrade to a newer version, and it builds correctly, please let us
know so we can get the new version into the next release.

-Eric

已经过了之前的坎,现在继续安装中,完成后争取来介绍一下。

论坛徽章:
0
8 [报告]
发表于 2007-06-21 09:47 |只看该作者
哈哈,好极了。

欢迎到 BSDLife.org 讨论 RedHat Exchange 之 Zenoss(Open Source Network & Systems Monitoring):
http://www.bsdlife.org/bbs/viewforum.php?id=29
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP