centos最新的7.2版本,git居然是1.8,而最新的git版本是2.9
差的太多了,何況git2.0後有大更新。於是,我決定編譯安裝。中間有一點小破折,記錄一下,備忘。
2,解壓:tar xzvf git-2.9.2.tar.gz
3,進入解壓後的git目錄後,執行:./configure很順利。
4,make的時候出錯了。提示如下:
in file included from credential-store.c:1:
cache.h:21:18: warning: zlib.h: no such file or directory
in file included from credential-store.c:1:
cache.h:23: error: expected specifier-qualifier-list before 『z_stream』
make: *** [credential-store.o] error 1
缺少 zlib的標頭檔案, 開發包沒裝,
yum install zlib (系統預設已經裝上)
yum install zlib-devel
5,make install時,有出現乙個錯誤。提示如下:
can't locate extutils/makemaker.pm in @inc (@inc contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at makefile.pl line 3.
begin failed--compilation aborted at makefile.pl line 3.
*************************
原來乙個perl的模組需要安裝:perl-extutils-embed
CentOS 7 2編譯安裝Tengine
tengine官網上有個非常簡單的教程,中間並未涉及到一些常用的設定,所以僅供參考。一下午為本人的安裝步驟及過程。配置firewalld,iptables,關閉selinux 1 安裝必要的編譯環境好 由於tengine安裝需要使用源 自行編譯,所以在安裝前需要安裝必要的編譯工具 yum y upd...
CentOS 7 2編譯安裝Tengine
tengine官網上有個非常簡單的教程,中間並未涉及到一些常用的設定,所以僅供參考。一下午為本人的安裝步驟及過程。配置firewalld,iptables,關閉selinux 1 安裝必要的編譯環境好 由於tengine安裝需要使用源 自行編譯,所以在安裝前需要安裝必要的編譯工具 yum y upd...
centos 7 2 編譯安裝caffe
yum install git git clone cd caffe cp makefile.config.example makefile.config yum install vim yum install gcc yum y groupinstall development tools yum...