1

我无法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
4

2 回答 2

0

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

于 2012-10-11T02:42:54.430 回答
0

我在自己的 c++ 源代码中遇到了同样的情况。原因是新 libtool 和旧 ltmain.sh 之间的版本兼容性问题。什么是 ltmain.sh,为什么 automake 说它丢失了?什么是好的自动(make/conf/etc)生成器?页面显示了详细信息以及如何重新生成 ltmain.sh。

于 2017-08-31T13:24:01.180 回答