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

相关文章:

  • 2022-03-09
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-10-15
  • 2021-09-05
  • 2021-07-10
猜你喜欢
  • 2021-09-09
  • 2021-05-29
  • 2021-12-09
  • 2021-08-15
  • 2022-01-21
  • 2021-12-01
相关资源
相似解决方案