我正在努力在Centos上安装流量工具。当我尝试使用RPM时,我得到:
warning: flow-tools-0.68.5-1.el6.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e9bc4ae1
error: Failed dependencies:
libc.so.6()(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libcrypto.so.10()(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libnsl.so.1()(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libpq.so.5()(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
libz.so.1()(64bit) is needed by flow-tools-0.68.5-1.el6.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by flow-tools-0.68.5-1.el6.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by flow-tools-0.68.5-1.el6.x86_64
这些软件包已经安装,我找不到哈希密钥?
如果我尝试
。/配置
使
make install
之后make
,我得到:
Making all in lib
make[1]: Entering directory `/var/flow-tools-0.68/lib'
make all-am
make[2]: Entering directory `/var/flow-tools-0.68/lib'
source='ftio.c' object='ftio.o' libtool=no \
depfile='.deps/ftio.Po' tmpdepfile='.deps/ftio.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftio.c' || echo './'`ftio.c
ftio.c: In function ‘readn’:
ftio.c:2270: error: invalid lvalue in assignment
ftio.c: In function ‘writen’:
ftio.c:2295: error: invalid lvalue in assignment
make[2]: *** [ftio.o] Error 1
make[2]: Leaving directory `/var/flow-tools-0.68/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/flow-tools-0.68/lib'
make: *** [all-recursive] Error 1
你有依赖问题,所以你最好使用yum而不是rpm,yum会自动解析依赖关系。
—
最大值为
由于某种原因无法使用yum安装流工具,当我尝试安装依赖项时,它们似乎都在那里。
—
CactiUser 2013年