Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Fail to install on Ubuntu 20.04.5 LTS #478

Open
Jacyhust opened this issue Sep 19, 2022 · 0 comments
Open

Fail to install on Ubuntu 20.04.5 LTS #478

Jacyhust opened this issue Sep 19, 2022 · 0 comments

Comments

@Jacyhust
Copy link

It always fails when run the command './build.sh -t Release'. The error information is as follows:
cmake -DBUILD_UNIT_TEST=OFF -DCMAKE_INSTALL_PREFIX=/home/xizhao/knowhere/main/output -DCMAKE_BUILD_TYPE=Release -DBUILD_COVERAGE=OFF -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DENABLE_PROFILING=OFF -DKNOWHERE_GPU_VERSION=OFF -DENABLE_SANITIZER=OFF -DKNOWHERE_WITH_DISKANN=OFF -DBUILD_BENCHMARK=OFF ../
-- ------------------------------KNOWHERE-----------------------------------
-- Building using CMake version: 3.24.1
-- Build time = 2022-09-19 13:15.52
-- Build type = Release
fatal: not a git repository (or any of the parent directories): .git
-- LAST_COMMIT_ID = Unknown
-- Linux
-- Using AUTO approach to find dependencies
-- Could NOT find BLAS (missing: BLAS_LIBRARIES)
-- Building OpenBLAS-0.3.9 from source
CMake Warning (dev) at /usr/share/cmake-3.24/Modules/ExternalProject.cmake:3071 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.24/Modules/ExternalProject.cmake:4167 (_ep_add_download_command)
cmake/ThirdPartyPackagesKw.cmake:201 (externalproject_add)
cmake/ThirdPartyPackagesKw.cmake:237 (build_openblas)
CMakeLists.txt:93 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Using ccache: /usr/bin/ccache
-- Building Knowhere CPU version
clang-tidy not found
clang-format not found
-- Found cpplint executable at /home/xizhao/knowhere/main/build-support/cpplint.py


-- KNOWHERE version:

-- Build configuration summary:
-- Generator: Unix Makefiles
-- Build type: Release
-- Source directory: /home/xizhao/knowhere/main
-- Compile commands: /home/xizhao/knowhere/main/cmake_build/compile_commands.json

-- Thirdparty options:
-- Method to use for acquiring KNOWHERE's build dependencies "AUTO" [default] [KNOWHERE_DEPENDENCY_SOURCE] [BUNDLED|SYSTEM]
-- Use ccache when compiling (if available) ON [default] [KNOWHERE_USE_CCACHE]
-- Show output from ExternalProjects rather than just logging to files ON [default] [KNOWHERE_VERBOSE_THIRDPARTY_BUILD]
-- Rely on boost shared libraries where relevant OFF [default] [KNOWHERE_BOOST_USE_SHARED]
-- Use vendored Boost instead of existing Boost. Note that this requires linking Boost statically
OFF [default] [KNOWHERE_BOOST_VENDORED]
-- Use only BOOST headers OFF [default] [KNOWHERE_BOOST_HEADER_ONLY]
-- Build with ARROW OFF [default] [KNOWHERE_WITH_ARROW]
-- Build with OpenBLAS library ON [default] [KNOWHERE_WITH_OPENBLAS]
-- Build with FAISS library ON [default] [KNOWHERE_WITH_FAISS]
-- Build with FAISS GPU version OFF [default] [KNOWHERE_WITH_FAISS_GPU_VERSION]
-- Build with DiskANN library OFF [KNOWHERE_WITH_DISKANN]
-- Build FAISS with MKL OFF [default] [FAISS_WITH_MKL]
-- Build with CUDA arch OFF [MILVUS_CUDA_ARCH]

-- Test and benchmark options:
-- Build KNOWHERE googletest unit tests OFF [default] [KNOWHERE_BUILD_TESTS]
-- Thirdparty downloaded file path: /home/xizhao/knowhere/main/cmake_build/3rdparty_download/download
-- Building FAISS- from source
-- Building FAISS with configure args --DCMAKE_INSTALL_PREFIX=/home/xizhao/knowhere/main/output;-DCMAKE_BUILD_TYPE=Release;-DCMAKE_CXX_COMPILER=/usr/bin/c++;-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc;-DCMAKE_CXX_FLAGS= -O3 -fPIC -DELPP_THREAD_SAFE -fopenmp -Werror -rdynamic -fpermissive -I /home/xizhao/knowhere/main ;-DFAISS_ENABLE_PYTHON=OFF;-DFAISS_ENABLE_GPU=OFF;-DBUILD_TESTING=OFF
-- OpenBLAS BOUNDED
CMake Error at /usr/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find BLAS (missing: BLAS_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.24/Modules/FindBLAS.cmake:1337 (find_package_handle_standard_args)
/usr/share/cmake-3.24/Modules/FindLAPACK.cmake:240 (find_package)
/usr/share/cmake-3.24/Modules/FindLAPACK.cmake:276 (_lapack_find_dependency)
knowhere/CMakeLists.txt:76 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/xizhao/knowhere/main/cmake_build/CMakeFiles/CMakeOutput.log".
See also "/home/xizhao/knowhere/main/cmake_build/CMakeFiles/CMakeError.log".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant