ubuuntu12.04下用源码安装git
来源:互联网 发布:网络top图绘制工具 编辑:程序博客网 时间:2024/05/29 13:32
下载git:
http://git-scm.com/downloads(official website)
http://code.google.com/p/git-core
https://github.com/git/git (大陆的朋友建议使用后俩个源下载)
安装依赖的库:
sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
编译安装指南:
1.具体参见源码目录下的INSTALL文件
2.可以通过configure命令查看有那些库缺失,使用了上述命令后,仍然发现有
checking libcharset.h usability... no
checking libcharset.h presence... no
checking for libcharset.h... no
checking for strings.h... (cached) yes
checking for locale_charset in -liconv... no
checking for locale_charset in -lcharset... no
在新立得中搜索了iconv相关的几个库,装了之后好像也没什么变化,没理会,继续编译了
3.按照INSTALL中的指示,为了能够后续用较快的git的profile feedback(什么功能?暂时不理解),采用了较慢的编译方法,安装在/usr/local目录下
$make prefix=/usr/local PROFILE=BUILD all ; as yourself
# make prefix=/usr/local PROFILE=BUILD install install-doc install-html;# as root
- ubuuntu12.04下用源码安装git
- centos下git源码安装
- Linux下git源码安装
- windows下安装git下载android源码
- linux下源码编译安装git
- Linux 下 Git 的源码安装
- Ubuntu下Git源码安装方法
- Ubuntu下升级git版本(源码编译安装git)
- Ubuntu下升级git版本(源码编译安装git)
- Ubuntu12.04下安装Git
- Ubuntu12.04下安装Git
- Ubuntu12.04下安装Git
- ubuntu14.04下安装git
- linux-centos系统下简单/源码编译安装git
- Windows下用Git下载android源码
- Windows下用Git下载android源码
- Windows下用Git下载android源码
- Windows下用Git下载android源码
- java中的容器讲解
- Raspberry Pi + surveillance camera
- 搜狗笔试题
- Android GC
- 浪潮之巅
- ubuuntu12.04下用源码安装git
- 用IBExpert优化Firebird/Interbase技巧集
- Bayer图像处理
- iOS中查找内存问题
- 在C++创建DLL,以及使用C++或者C#分别调用DLL中的方法
- 迭代器的失效
- android 反编译和防止被反编译。
- 示例:js使用正则表达式group来提取字符串中的数据
- jquery.treeview初始化树节点不展开