gnutls_handshake() failed问题解决方法
2016-11-09 15:19
633 查看
编译openwrt时候遇到此问题,原因貌似是gnutls的协议不支持,可以安装openssl来解决此问题:
下面是网上找到的解决方法:
Got reason of the problem, it was
It's working weird behind a proxy. But
working fine even in weak network. So workaround is that we should compile
To do this, run the following commands:
(Remember to replace
the actual version of git in your system.)
Then, edit
(run the command:
Then build the package (if it's failing on test, you can remove the line
the file
Install new package:
i386:
x86_64:
执行完成后重新编译即可
下面是网上找到的解决方法:
Got reason of the problem, it was
gnutlspackage.
It's working weird behind a proxy. But
opensslis
working fine even in weak network. So workaround is that we should compile
gitwith
openssl.
To do this, run the following commands:
sudo apt-get update sudo apt-get install build-essential fakeroot dpkg-dev libcurl4-openssl-dev sudo apt-get build-dep git mkdir ~/git-openssl cd ~/git-openssl apt-get source git dpkg-source -x git_1.7.9.5-1.dsc cd git-1.7.9.5
(Remember to replace
1.7.9.5with
the actual version of git in your system.)
Then, edit
debian/controlfile
(run the command:
gksu gedit debian/control) and replace all instances of
libcurl4-gnutls-devwith
libcurl4-openssl-dev.
Then build the package (if it's failing on test, you can remove the line
TEST=testfrom
the file
debian/rules):
sudo dpkg-buildpackage -rfakeroot -b
Install new package:
i386:
sudo dpkg -i ../git_1.7.9.5-1_i386.deb
x86_64:
sudo dpkg -i ../git_1.7.9.5-1_amd64.deb
执行完成后重新编译即可
相关文章推荐
- Ubuntu 12.04安装gcc/g++ 4.8.1(解决install gcc-4.8时error: gnutls_handshake() failed: A TLS packet...)
- [Trouble Shoot]hibernate中的Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题的解决方法
- 使用WinDbg调试Silverlight中遇到“Failed to find runtime DLL (clr.dll), 0x80004005”问题的解决方法之一
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- 安装Android SDK Manager的“Failed to fetch refused”问题解决方法
- ubuntu12.04.4下出现"(sublime:12386): Gtk-WARNING **: Failed to load type module: (null)"问题及解决方法
- Android系统移植与调试之安装apk时MTK命令和出现Failure [INSTALL_FAILED_DEXOPT]问题解决方法
- Fatal error: session_start(): Failed to initialize storage module: files问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- 安装apk时出现错误Failure [INSTALL_FAILED_DEXOPT]问题解决的方法
- 安装tomcat时出错:failed to install tomcat6 service问题的解决方法
- [Android] "Failed to find Java version for 'C:\Windows\system32\java.exe"问题的解决方法
- failed to lazily initialize a collection of role: no session or session was closed (Hibernate) 解决方法(延迟加载问题)
- Eucalyptus failed to connect to the hypervisor问题解决方法
- 在Eclipse关闭tomcat5.5的时候就会出现Failed shutdown of Apache Portable Runtime的问题的解决方法
- eclipse CDT 的launch failed.Binary not found问题的解决方法
- [图文解说]Unknown Pin 和Failed to add class member 的问题解决方法
- android apk包在android 2.3以下系统上安装时遇到的INSTALL_FAILED_DEXOPT和LinearAlloc exceeded capacity问题解决方法
- 安装apk时出现错误Failure [INSTALL_FAILED_DEXOPT]问题解决的方法