akheron / jansson

C library for encoding, decoding and manipulating JSON data
http://www.digip.org/jansson/
Other
3.05k stars 808 forks source link

getting the above error while i tried installing #608

Closed abhinaveksc closed 2 years ago

abhinaveksc commented 2 years ago

./vcpkg install jansson Computing installation plan... A suitable version of cmake was not found (required v3.22.2). Downloading portable cmake v3.22.2... Downloading cmake... https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.tar.gz -> /home/abhinav/Downloads/vcpkg/downloads/cmake-3.22.2linux-x86_64.tar.gz Extracting cmake... The following packages will be built and installed: jansson[core]:x64-linux -> 2.13.1#2 Detecting compiler hash for triplet x64-linux... Error: while detecting compiler information: The log content at /home/abhinav/Downloads/vcpkg/buildtrees/detect_compiler/stdout-x64-linux.log is: -- Downloading https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip -> ninja-linux-1.10.2.zip... -- Configuring x64-linux-rel CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message): Command failed: /home/abhinav/Downloads/vcpkg/downloads/tools/cmake-3.22.2-linux/cmake-3.22.2-linux-x86_64/bin/cmake /home/abhinav/Downloads/vcpkg/scripts/detect_compiler -DCMAKE_MAKE_PROGRAM=/home/abhinav/Downloads/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/abhinav/Downloads/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/home/abhinav/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/home/abhinav/Downloads/vcpkg -DZ_VCPKG_ROOT_DIR=/home/abhinav/Downloads/vcpkg -D_VCPKG_INSTALLED_DIR=/home/abhinav/Downloads/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/abhinav/Downloads/vcpkg/packages/detect_compiler_x64-linux Working Directory: /home/abhinav/Downloads/vcpkg/buildtrees/detect_compiler/x64-linux-rel Error code: 1 See logs for more information: /home/abhinav/Downloads/vcpkg/buildtrees/detect_compiler/config-x64-linux-rel-out.log /home/abhinav/Downloads/vcpkg/buildtrees/detect_compiler/config-x64-linux-rel-err.log

Call Stack (most recent call first): scripts/cmake/vcpkg_configure_cmake.cmake:371 (vcpkg_execute_required_process) scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake) scripts/ports.cmake:145 (include)

Error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.

akheron commented 2 years ago

Please report vcpkg problems to their repo instead of here.