【WebRTC排错】ubuntu下git卸载 || 缺少alsa/asoundlib.h问题 ||

在Ubuntu系统中遇到Git克隆仓库失败的问题,原因是Git安装不完整,缺乏对HTTP的支持。解决方案是通过`sudo apt-get install git git-core`重新安装Git。此外,还解决了在编译WebRTC时遇到的`alsa/asoundlib.h`头文件缺失问题,通过安装`libasound2-dev`解决。此外,还提到了`gtk+-2.0`包的缺失和`pulseaudio`库的安装需求。
摘要由CSDN通过智能技术生成
Error: Command git clone --progress http://git.chromium.org/webm/libvpx.git   .../libvpx/source/libvpx returned non-zero exit status 128 in .../WebRTC

排查得到:

webm$ git clone https://git.chromium.org/webm/libvpx.git
Cloning into libvpx...
fatal: Unable to find remote helper for 'https'

解决:

How did you install git, and which version of it do you have? Can you
clone other git repos hosted via HTTP manually using "git clone"? http://lists-archives.org/git/708090-report-remote-helper-exec-failures.html suggests
that this may be a problem with your copy of git not being able to run its remote helper  for HTTP.

git 安装不正确!!!缺少对http的支持,有些包没装好

Git is reasonably self-sufficient, but does depend on a few external
   programs and libraries.  Git can be used without most of them by adding
   the approriate "NO_<LIBRARY>=YesPlease" to the make command line or
   config.mak file.

    - "zlib", the compression library. Git won't build without it.

    - "ssh" is used to push and pull over the net.

    - A POSIX-compliant shell is required to run many scripts needed
      for everyday use (e.g. "bisect", "pull").

    - "Perl" version 5.8 or later is needed to use some of the
      features (e.g. preparing a partial commit using "git add -i/-p",
      interacting with svn repositories with "git svn").  If you can
      live without these, use NO_PERL.

    - "openssl" library is used by git-imap-send to use IMAP over SSL.
      If you don't need it, use NO_OPENSSL.

      By default, git uses OpenSSL for SHA1 but it will use it's own
      library (inspired by Mozilla's) with either NO_OPENSSL or
      BLK_SHA1.  Also included is a version optimized for PowerPC
      (PPC_SHA1).

    - "libcurl" library is used by git-http-fetch and git-fetch.  You
      might also want the "curl" executable for debugging purposes.
      If you do not use http:// or https:// repositories, you do not
      have to hav

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值