Closed
Description
Dear developers,
I failed quickly when building the project.
Here is the output I get:
node0:~/work/CacheLib> ./contrib/build.sh -T
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Fetched 222 kB in 1s (300 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
bison is already the newest version (2:3.5.1+dfsg-1).
flex is already the newest version (2.6.4-6.2).
g++ is already the newest version (4:9.3.0-1ubuntu2).
libbz2-dev is already the newest version (1.0.8-2).
libelf-dev is already the newest version (0.176-1.1build1).
libevent-dev is already the newest version (2.1.11-stable-1).
libiberty-dev is already the newest version (20200409-1).
libnuma-dev is already the newest version (2.0.12-1).
libsnappy-dev is already the newest version (1.1.8-1build1).
libsodium-dev is already the newest version (1.0.18-1).
libunwind-dev is already the newest version (1.2.1-9build1).
make is already the newest version (4.2.1-1.2).
pkg-config is already the newest version (0.29.1-0ubuntu4).
libboost-all-dev is already the newest version (1.71.0.0ubuntu2).
libdouble-conversion-dev is already the newest version (3.1.5-4ubuntu1).
libdwarf-dev is already the newest version (20200114-1).
libgflags-dev is already the newest version (2.2.2-1build1).
libgoogle-glog-dev is already the newest version (0.4.0-1build1).
libjemalloc-dev is already the newest version (5.2.1-1ubuntu1).
binutils-dev is already the newest version (2.34-6ubuntu1.4).
build-essential is already the newest version (12.8ubuntu1.1).
cmake is already the newest version (3.16.3-1ubuntu1.20.04.1).
git is already the newest version (1:2.25.1-1ubuntu3.10).
liblz4-dev is already the newest version (1.9.2-2ubuntu0.20.04.1).
liblzma-dev is already the newest version (5.2.4-1ubuntu1.1).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.17).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.
Fetching origin
HEAD is now at 945f2775 Merge pull request #3487 from facebook/dev
-- ZSTD VERSION: 1.5.4
CMake Error at CMakeModules/AddZstdCompilationFlags.cmake:3 (include):
include could not find load file:
CheckLinkerFlag
Call Stack (most recent call first):
CMakeLists.txt:70 (include)
CMake Error at CMakeModules/AddZstdCompilationFlags.cmake:23 (CHECK_LINKER_FLAG):
Unknown CMake command "CHECK_LINKER_FLAG".
Call Stack (most recent call first):
CMakeModules/AddZstdCompilationFlags.cmake:57 (EnableCompilerFlag)
CMakeLists.txt:71 (ADD_ZSTD_COMPILATION_FLAGS)
-- Configuring incomplete, errors occurred!
See also "/users/glacier/work/CacheLib/build-zstd/CMakeFiles/CMakeOutput.log".
build-package.sh: error: cmake failed on cachelib/external/zstd/build/cmake
build.sh: error: failed to build dependency 'zstd'
Could you help me solve this? Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels