51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3176|回复: 2
打印 上一主题 下一主题

[求助] loadrunner监控liunux系统资源,安装rpc.rstatd-4.0.1.tar.gz出错

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2013-2-22 15:22:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在网上找了很多解决方案,但是还是解决不了,恳请各位高手帮忙看看。
问题如下:
1,在linux下,gcc编译器已经安装了,我直接用rpm包装的,输入gcc -v可以得到以下返回结果:
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

2,进入 rpc.rstatd目录下,输入./configure报错,说 installation or configuration problem: C compiler cannot create executables.
根据这错到网上去找原因,按照已有的方法尝试,没有一个凑效。具体的提示如下:
[root@HDwebdev rpc.rstatd]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot cr
eate executables.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2013-2-24 16:55:55 | 只看该作者
本帖最后由 jimmyguo23 于 2013-2-24 16:57 编辑

其实也可以使用jconsole监控linux系统资源使用情况
gcc的话yum下看看有没有更新试试
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2013-2-25 10:46:38 | 只看该作者
我之前装Ubuntu系统遇到与楼主一样的情况~网上看到一个帖子说是4.0.1版本会报错~后来我去官网把各个版本都下下来~只要一个版本不会报错,,,具体版本号压缩包上没写~我也不记得了~文件名是rstatd.tar.gz~其他版本都会在压缩包上写版本号~如果楼主网上找不到我再发给你~

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-20 07:51 , Processed in 0.095096 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表