Honestly, I don't even understand what's the error message in CMakeOutput.log and how to fix that.
Error:
$ make local_build
rm -fr /home/sirjay/odyssey/tmp
rm -fr build
rm -fr build-asan
cmake -S /home/sirjay/odyssey -Bbuild -DCMAKE_BUILD_TYPE=Release -DCC_FLAGS="-Wextra -Wstrict-aliasing" -DUSE_SCRAM=YES
-- The C compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find PostgreSQL (missing: POSTGRESQL_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindPostgreSQL.cmake:62 (find_package_handle_standard_args)
CMakeLists.txt:88 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/sirjay/odyssey/build/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:26: local_build] Error 1
Honestly, I don't even understand what's the error message in
CMakeOutput.log
and how to fix that.Error:
/home/sirjay/odyssey/build/CMakeFiles/CMakeOutput.log: