问题:构建AWD SDK(C ++)库时出错。
我正在尝试构建AWD SDK软件包,并出现错误。 第三方工具的“自动下载”似乎出了点问题,并且安装过程被暂停了。 (也许我的IT部门正在阻止端口!)
这就是我正在使用的:
这是输出日志:
-- 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下载?我可以单独下载软件包,然后将其复制到某处。...
答案 0 :(得分:0)
问题与旧版本的curl和我的系统上安装的git有关。 命中被吸,无法下载。在没有使用git作为第三方工具的情况下,我找不到构建/安装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