在redhat 4.1中安装zeromq时出错

时间:2012-10-11 02:38:49

标签: linux redhat zeromq

我无法在我的计算机上安装zeromq 我的机器是redhat 4.1 这是错误消息:

Making all in src
make[1]: Entering directory `/data/vvlog/zeromq-3.2.0/src'
make  all-am
make[2]: Entering directory `/data/vvlog/zeromq-3.2.0/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.   -pedantic -Werror -Wall -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE  -DZMQ_FORCE_EPOLL -fvisibility=hidden  -g -O2 -MT libzmq_la-address.lo -MD -MP -MF ".deps/libzmq_la-address.Tpo" -c -o libzmq_la-address.lo `test -f 'address.cpp' || echo './'`address.cpp; \
    then mv -f ".deps/libzmq_la-address.Tpo" ".deps/libzmq_la-address.Plo"; else rm -f ".deps/libzmq_la-address.Tpo"; exit 1; fi
../libtool: line 869: X--tag=CXX: command not found
../libtool: line 902: libtool: ignoring unknown tag : command not found
../libtool: line 869: X--mode=compile: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1179: Xg++: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-pedantic: command not found
../libtool: line 1179: X-Werror: command not found
../libtool: line 1179: X-Wall: command not found
../libtool: line 1179: X-D_GNU_SOURCE: command not found
../libtool: line 1179: X-D_REENTRANT: command not found
../libtool: line 1179: X-D_THREAD_SAFE: command not found
../libtool: line 1179: X-DZMQ_FORCE_EPOLL: command not found
../libtool: line 1179: X-fvisibility=hidden: command not found
../libtool: line 1179: X-g: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: Xlibzmq_la-address.lo: command not found
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X.deps/libzmq_la-address.Tpo: No such file or directory
../libtool: line 1179: X-c: command not found
../libtool: line 1231: Xlibzmq_la-address.lo: command not found
../libtool: line 1236: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libzmq_la-address.lo] Error 1
make[2]: Leaving directory `/data/vvlog/zeromq-3.2.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/vvlog/zeromq-3.2.0/src'
make: *** [all-recursive] Error 1

2 个答案:

答案 0 :(得分:0)

这是关于在redhat上安装0MQ的一些docs

答案 1 :(得分:0)

我在自己的c ++源代码中遇到了同样的情况。原因是新的libtool和旧的ltmain.sh之间存在版本兼容性问题。 What is ltmain.sh, and why does automake say it is missing? What is a good auto (make/conf/etc) generator?页面显示了详细信息以及如何重新生成ltmain.sh。