问题的原因是因为编译时系统缺少 curl 组件,根据系统安装:
- ubuntu:
apt-get install curl libcurl3 libcurl4-openssl-dev - centos:
yum install curl-devel
然后重新编译安装 git:
|
1 2 |
./configure --prefix=/usr/local/git make && make install |
| Refresh |
This website www.dyxmq.cn/it/git/git-cannot-clone-https-problem.html is currently offline. Cloudflare\'s Always Online™ shows a snapshot of this web page from the Internet Archive\'s Wayback Machine. To check for the live version, click Refresh. |
问题的原因是因为编译时系统缺少 curl 组件,根据系统安装:
apt-get install curl libcurl3 libcurl4-openssl-devyum install curl-devel然后重新编译安装 git:
|
1 2 |
./configure --prefix=/usr/local/git make && make install |
评论