redhat 安装 ZeroMQ, pyzmq 错误解…

redhat 安装 ZeroMQ, pyzmq 错误:

 Failed to run ZMQ test program.  Please check to make sure:

    You have a C compiler installed
    A development version of Python is installed (including header files)
    A development version of ZMQ >= 2.1.4 is installed (including header files)
    If ZMQ is not in a default location, supply the argument --zmq=<path>
    If you did recently install ZMQ to a default location,
      try rebuilding the ld cache with `sudo ldconfig`
      or specify zmq's location with `--zmq=/usr/local`

解决方法:

安装ZeroMQ所需组件及工具:

yum install gcc

yum install gcc-c++

yum install make

yum install uuid-devel

yum install libuuid-devel

再次安装 ZeroMQ, pyzmq 就OK了。

 

参考文章:http://blog.csdn.net/daihui05/article/details/7458831

你可能感兴趣的:(redhat 安装 ZeroMQ, pyzmq 错误解…)