0

构建AWD SDK (C++) 库时出现错误。

我正在尝试构建 AWD SDK 包,但出现错误。第三方工具的“自动下载”似乎有问题,安装过程停滞不前。(也许我的 IT 部门阻塞了一个端口!)

这就是我正在使用的:

  • 混帐:v1.9.9
  • 制作:v3.8.2
  • 卷曲:v3.8.2
  • 海合会:v6.3

这是输出日志:

-- Found Git: /grid/common/pkgs/git/latest/bin/git (found version "1.9.0") 
-- TARGET_ARCH not specified; inferring host OS to be platform compilation target
-- Building AWS libraries as shared objects
-- Generating linux build config
fatal: Not a git repository: '/home/dargollo/aws/aws-sdk-cpp-master/.git'
-- Building project version: 1.7.42
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /grid/common/pkgs/gcc/v6.3.0/bin/gcc
-- Check for working C compiler: /grid/common/pkgs/gcc/v6.3.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /grid/common/pkgs/gcc/v6.3.0/bin/g++
-- Check for working CXX compiler: /grid/common/pkgs/gcc/v6.3.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dargollo/aws/blddir/.deps
Scanning dependencies of target AwsCCommon
[  4%] Creating directories for 'AwsCCommon'
[  8%] Performing download step (git clone) for 'AwsCCommon'
Cloning into 'AwsCCommon'...
Cloning into 'AwsCCommon'...
Cloning into 'AwsCCommon'...
-- Had to git clone more than once:
          3 times.

问题 是否可以绕过自动 git 下载?我可以单独下载软件包,然后复制到某个地方....

  • aws-c-common-master.zip
  • aws-c-event-stream-master.zip
  • aws-校验和-master.zip
4

1 回答 1

0

该问题与旧版本的 curl 和我的系统上安装的 git 有关。命中被吸,无法下载。如果不使用 git 作为 3rd 方工具,我没有找到构建/安装 AWS/SDK 的方法。

在我下载并构建了这些包之后,aws sdk 安装运行良好,没有任何问题。

我用过:

curl from: https://github.com/curl/curl/tree/curl-7_63_0
git from https://github.com/git/git

有版本:

curl 7.63.0-DEV (x86_64-unknown-linux-gnu) libcurl/7.63.0-DEV OpenSSL/1.0.1e 
git version 2.20.GIT
于 2019-02-07T02:15:13.640 回答