mozilla-services / lua_sandbox_extensions

Extension packages (sandboxes and modules) for the lua_sandbox project
Other
72 stars 55 forks source link

Do I have to install aws-cpp-sdk-core by myself? #535

Open ghost opened 3 years ago

ghost commented 3 years ago

README CMake Build Instructions is Error.

Do I have to install aws-cpp-sdk-core by myself? If I have to do it, how do I do it?

Do I use vcpkg?

git clone https://github.com/mozilla-services/lua_sandbox_extensions.git
cd lua_sandbox_extensions
mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=release -DENABLE_ALL_EXT=true -DCPACK_GENERATOR=TGZ ..

CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:225 (message):
  Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
  target architecture is known.  Please enable at least one language before
  including GNUInstallDirs.
Call Stack (most recent call first):
  CMakeLists.txt:9 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 8.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2")
-- Checking for one of the modules 'librabbitmq'
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:797 (message):
  None of the required 'librabbitmq' found
Call Stack (most recent call first):
  amqp/CMakeLists.txt:10 (pkg_search_module)

amqp    ENABLED
-- The CXX compiler identification is GNU 8.4.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at aws/CMakeLists.txt:12 (find_package):
  Could not find a package configuration file provided by "aws-cpp-sdk-core"
  (requested version 1.1.46) with any of the following names:

    aws-cpp-sdk-coreConfig.cmake
    aws-cpp-sdk-core-config.cmake

  Add the installation prefix of "aws-cpp-sdk-core" to CMAKE_PREFIX_PATH or
  set "aws-cpp-sdk-core_DIR" to a directory containing one of the above
  files.  If "aws-cpp-sdk-core" provides a separate development package or
  SDK, be sure it has been installed.

Best Regards.