linux iometer io

1,首先在Debian 7.6 64bit需要安装iometer

下载地址:http://www.iometer.org/doc/downloads.html

2,解压iometer的目录

tar -jxvf iometer-1.1.0-linux.x86_64-bin.tar.bz2

3,运行./dymao

结果给我报错,气死我了。

这里写代码片

于是找解决方法

4,下载http://ftp.gnu.org/gnu/glibc/

下载需要的版本。

[root@localhost ~]# tar xvf glibc-2.14.tar.gz
[root@localhost ~]# cd glibc-2.14
[root@localhost glibc-2.14]# mkdir build
[root@localhost glibc-2.14]# cd ./build
[root@localhost build]# ../configure --prefix=/opt/glibc-2.14
[root@localhost build]# make -j4
[root@localhost build]# make install

结果还给我报错:

mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
make[1]: *** No rule to make target `/mnt/lfs/sources/glibc-build/Versions.all', needed by `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [all] Error 2

5,需要安装

sudo apt-get install gawk

6,重新编译吧。

7,测试:

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
./dynamo

8,结果:

root@demo-2:~# ./dynamo 
./dynamo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by ./dynamo)
./dynamo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./dynamo)
root@demo-2:~# export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
root@demo-2:~# ./dynamo 
./dynamo: /opt/glibc-2.14/lib/libc.so.6: version `GLIBC_2.15' not found (required by ./dynamo)
root@demo-2:~# 

报错少了一个。成功。

9,安装2.15时候又报错

3. 运行configure时报错::
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.


解决办法:
查看LD_LIBRARY_PATH  echo $LD_LIBRARY_PATH,我的打印的是/usr/lib/qt44/lib:
configure里说:LD_LIBRARY_PATH不能以终结符作为开始和最后一个字符,
不能有2个终结符连在一起,所以修改下LD_LIBRARY_PATH即可,export LD_LIBRARY_PATH=/usr/lib/qt44/lib

10,运行问题

  运行iomter的时候,出现如下的错误:
  ===> ERROR: Getting host name for "localhost.localdomain" failed.
  [PortTCP::Create() in IOPortTCP.cpp line 238]
  errno = 11
  *** Could not create a TCP/IP Port. exiting.....
  问题追踪:
  常见的Iometer错误就是当你的网络环境沒有使用DNS造成hostname和IP无法解析的时候就会看到下面的错误提示!!
  个人的最终解决方案:
  执行命令:hostname ip
  并且关闭windows的防火墙。
http://liuhanlin-work.qiniudn.com/iometer.tar.gz
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值