Git 通过源码编译安装 2.12.2 遇到的问题及解决
来源:互联网 发布:网络会员管理系统 编辑:程序博客网 时间:2024/06/03 14:54
Git 源码:
https://github.com/git/git/releaseswget https://github.com/git/git/archive/v2.12.2.tar.gz
错误:
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
解决,安装 install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker 即可:
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
错误:
LINK git-credential-storelibgit.a(utf8.o): In function `reencode_string_iconv’:/opt/git-master/utf8.c:530: undefined reference to `libiconv’libgit.a(utf8.o): In function `reencode_string_len’:/opt/git-master/utf8.c:569: undefined reference to `libiconv_open’/opt/git-master/utf8.c:588: undefined reference to `libiconv_close’/opt/git-master/utf8.c:582: undefined reference to `libiconv_open’collect2: ld returned 1make: *** [git-credential-store] error 1
解决,安装 libiconv 即可
https://ftp.gnu.org/gnu/libiconv/wget https://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gztar -xvf libiconv-1.15.tar.gzcd libiconv-1.15./configure --prefix=/usr/local/libiconv && make && make install
然后 git 重新安装
make configure./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconvmake && make install
0 0
- Git 通过源码编译安装 2.12.2 遇到的问题及解决
- 编译android源码及遇到的问题
- 源码编译安装PHP和Apache(解决php通过yum安装版本低的问题)
- 安装MySQL遇到的问题及解决
- 安装SQLSERVER2000遇到的问题及解决
- nagios安装遇到的问题及解决
- 安装directshw遇到的问题及解决
- 安装redis 遇到的问题及解决
- Linux从源码安装subversion遇到问题及解决
- 通过源码编译安装PostgreSQL步骤及问题总结
- Linux 下编译安装ACE时遇到的问题及解决
- 通过源码安装部署keystone环境遇到的一些问题
- 编译hadoop源码遇到问题 及时解决
- Ubuntu下编译AllJoyn源码及遇到的问题
- 下载编译阅读Android源码及遇到的问题
- 编译LTIB遇到的问题及解决的方法
- 编译源码遇到的问题
- 编译QTE时遇到的uic问题及解决过程
- POJ1007
- tensorflow25《TensorFlow实战Google深度学习框架》笔记-10-02 多GPU并行 code
- GDBet333 Malaysia Online Casino AUTO BONUS 2%(AUTO BONUS 2%, deposit bonus, GDBet333 Malaysia, malay
- mysql几种性能测试的工具使用
- ubuntu16.04源码编译安装Poco1.7.8
- Git 通过源码编译安装 2.12.2 遇到的问题及解决
- restful web service
- STM32的学习步骤参考
- redis.conf配置详解
- String 那些事儿
- Java Safepoint 与Stop The World
- tensorflow26《TensorFlow实战Google深度学习框架》笔记-10-03 分布式TensorFlow code
- GBDT(MART)迭代决策树学习
- 解决Maven关于本地jar包的打包处理