2017-08-25 52 views
0

我之前完成了这项工作,但是昨天我无法完成它!在Raspberry Pi v2上运行Jessie。在Pi V2上安装TCPFLOW从GIT站点运行Jessie

从GIT网站工作(https://github.com/simsong/tcpflow/)我试图安装最新版本的TCPFLOW。我也做了

apt-get update

然后

apt-get upgrade

,所以我敢肯定,OS是最新的更新。

似乎有在git的网站的一些意见,我以前没有注意到:我不知道我是否应该在我的树莓派V2运行杰西运行这些脚本

To compile for Linux Be sure you have the necessary precursors. There are files in the root directory that will do this for you, depending on your host operating system:

CONFIGURE_ARCH_17_8.sh CONFIGURE_FEDORA_18.sh CONFIGURE_FEDORA_26.sh CONFIGURE_UBUNTU_16_04.sh

然而,在我的大笔记和在现场的git其他文档,当我运行它似乎运行正常,没有错误消息

git clone --recursive https://github.com/simsong/tcpflow.git 

命令。然而,当我尝试运行命令的其余部分:

cd tcpflow 
bash bootstrap.sh 
./configure 
make 
sudo make install 

失败的

bash bootstrap.sh

一行说bootstrap.sh不存在!

如果列出新的tcpflow目录,肯定没有bootstrap.sh文件。

有一个

bootstrap.bash

这似乎运行,但给了错误丢失的模块。我跑这来纠正这个问题:

sudo apt-get update --fix-missing 
sudo apt-get install git gcc g++ automake autoconf libpcap-dev libboost-dev libssl-dev zlib1g-dev libcairo2-dev 

重新运行

bash bootstrap.bash

现在给这些消息:

autom4te: cannot create autom4te.cache: No such file or directory autoheader: '/usr/bin/autom4te' failed with exit status: 1 autom4te: cannot create autom4te.cache: No such file or directory aclocal: error: echo failed with exit status: 1 autom4te: cannot create autom4te.cache: No such file or directory autom4te: cannot create autom4te.cache: No such file or directory automake: error: autoconf failed with exit status: 1 be sure to run ./configure

现在,当我尝试运行

./configure

我得到未找到该命令或找到文件错误。

这整个过程与我以前运行过程完全不同,并且不遵循我的笔记和GIT网站上的文档。帮助,请 .... RDK

回答

0

好的,这些问题已经解决。问题围绕configure.sh vs configure.bash已被TCPFLOW开发者修复。该文件已被重命名为与文档相匹配。

后我跑了“庆典configure.bash”文件,第二次是权限错误“不能创建”的错误,由于我已经运行初始的git克隆为根,但随后的命令,我普通用户。

现在安装完成没有任何错误..... RDK