标签:lftp
安装lftp
第一步: 安装gcc-c++编译环境,收集rpm安装包。我所用的centOS 系统需要七个rpm包,它们分别是:mpfr-2.4.1-6.el6.x86_64.rpm 、ppl-0.10.2-11.el6.x86_64.rpm、cloog-ppl-0.15.7-1.2.el6.x86_64.rpm、cpp-4.4.7-17.el6.x86_64.rpm、libgcc-4.4.7-17.el6.x86_64.rpm、 libgomp-4.4.7-17.el6.x86_64.rpm、rpm-ivh gcc-4.4.7-17.el6.x86_64.rpm 。 其他版本的系统可能需要不同的rpm包,这里为大家提供一个可以下载更多rpm 包的站点,方便大家下载自己所需要的rpm安装包。 站点地址是:ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/ (这个站点地址是在网上找的,内容很丰富,很有用!非常感谢该站点的创建者为大家共享了这么多优质资源)
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/libgomp-4.4.7-17.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/mpfr-2.4.1-6.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/cpp-4.4.7-17.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/libgcc-4.4.7-17.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/libgomp-4.4.7-17.el6.x86_64.rpm
ftp://mirror.switch.ch/mirror/centos/6/os/x86_64/Packages/gcc-4.4.7-17.el6.x86_64.rpm
第二步:编译lftp源码依赖包如下
./configure --prefix=/usr/local
[root@localhost ~]# ls Downloads/
cloog-ppl-0.15.7-1.2.el6.x86_64.rpm lftp-4.0.1.tar.bz2 libstdc++-devel-4.4.7-17.el6.x86_64.rpm ppl-0.10.2-11.el6.x86_64.rpm
cpp-4.4.7-17.el6.x86_64.rpm lftp-4.7.7.tar.xz mpfr-2.4.1-6.el6.x86_64.rpm readline-5.2.tar.gz
gcc-4.4.7-17.el6.x86_64.rpm libgcc-4.4.7-17.el6.x86_64.rpm ncurses-devel-5.7-3.20090208.el6.x86_64.rpm readline-devel-6.0-4.el6.x86_64.rpm
gcc-4.5.1.tar.bz2 libgomp-4.4.7-17.el6.x86_64.rpm ncurses-devel-5.7-4.20090207.el6.x86_64.rpm zlib-devel-1.2.3-29.el6.x86_64.rpm
gcc-c++-4.4.7-17.el6.x86_64.rpm libstdc++-4.4.7-17.el6.x86_64.rpm ncurses-libs-5.7-4.20090207.el6.x86_64.rpm
标签:lftp
原文地址:http://f1yinsky.blog.51cto.com/12568071/1910558