51Testing软件测试论坛

标题: loadrunner监控liunux系统资源,安装rpc.rstatd-4.0.1.tar.gz出错 [打印本页]

作者: swallowhe    时间: 2013-2-22 15:22
标题: loadrunner监控liunux系统资源,安装rpc.rstatd-4.0.1.tar.gz出错
在网上找了很多解决方案,但是还是解决不了,恳请各位高手帮忙看看。
问题如下:
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.
作者: jimmyguo23    时间: 2013-2-24 16:55
本帖最后由 jimmyguo23 于 2013-2-24 16:57 编辑

其实也可以使用jconsole监控linux系统资源使用情况
gcc的话yum下看看有没有更新试试
作者: viviancrazy    时间: 2013-2-25 10:46
我之前装Ubuntu系统遇到与楼主一样的情况~网上看到一个帖子说是4.0.1版本会报错~后来我去官网把各个版本都下下来~只要一个版本不会报错,,,具体版本号压缩包上没写~我也不记得了~文件名是rstatd.tar.gz~其他版本都会在压缩包上写版本号~如果楼主网上找不到我再发给你~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2