sudo apt-get install build-essential fakeroot dpkg-dev
mkdir ~/git-openssl
cd ~/git-openssl
sudo apt-get source git
sudo apt-get build-dep git
sudo apt-get install libcurl4-openssl-dev
sudo dpkg-source -x git_1.7.9.5-1.dsc
cd git_1.7.9.5 8.
Then, edit debian/control file (run the command: gksu gedit debian/control) and replace all instances of libcurl4-gnutls-dev with libcurl4-openssl-dev
sudo dpkg-buildpackage -rfakeroot -b
(if it's failing on test, you can remove the line TEST=test from the file debian/rules)
sudo dpkg -i ../git_1.7.9.5-1_i386.deb
本文详细介绍如何在Linux环境下使用sudo apt-get install等命令安装build-essential、fakeroot、dpkg-dev、libcurl4-openssl-dev等软件包,并通过编辑debian/control文件来配置Git与OpenSSL的依赖关系。
1961

被折叠的 条评论
为什么被折叠?



