准备工作:

配置好yum源,安装开发包:

#yum groupinstall "Server Platform Development"

#yum (--skip-broken) groupinstall "Development tools"

iometer下载地址(linux环境用)

windows环境连接用:

编译报错

In file included from IOManager.h:94,

                from Pulsar.cpp:135:

IOPerformance.h:101:21: error: stropts.h: No such file or directory

make: *** [Pulsar.o] Error 1

解决办法:

修改src下边的文件

vim IOPerformance.h

将第100行改成

#if defined(IOMTR_OSFAMILY_NETWARE) || defined(IOMTR_OS_SOLARIS)

make all

ok