Closed mkaring closed 3 years ago
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found version "11.9 (Debian 11.9-0+deb10u1)") Call Stack (most recent call first): /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.13/Modules/FindPostgreSQL.cmake:175 (find_package_handle_standard_args) cmake/Modules/FindPqxx.cmake:2 (find_package) src/CMakeLists.txt:4 (find_package)
@vilarion: Your environment is likely lacking the postgresql development dependency: postgresql-server-dev-all
postgresql-server-dev-all should not be a required dependency, we are not working with libpq directly. Actually libpq-dev is installed, even. But it wants llvm-7 and clang-7 in addition to that, which seems incorrect.
libpq-dev is already required by libpqxx-dev, but we don't need it directly.
The FindPqxx.cmake
script was wrong in depending on PostgreSQL.
Rebased and merged.
The server is not properly building with cmake.
fixes #35