You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks,
Thank you so much for providing and maintaining this repository. I started building this oatpp module and got stuck at this place.
mkdir tmp && cd tmp
git clone --depth=1 https://github.com/oatpp/oatpp-postgresql
cd oatpp-postgresql/
mkdir build && cd build
cmake -DOATPP_DISABLE_ENV_OBJECT_COUNTERS=ON -DCMAKE_BUILD_TYPE=Release -DOATPP_BUILD_TESTS=OFF ..
Build feedback:
$ cmake -DOATPP_DISABLE_ENV_OBJECT_COUNTERS=ON -DCMAKE_BUILD_TYPE=Release -DOATPP_BUILD_TESTS=OFF ..
Finding oatpp in location=INSTALLED
OATPP_INCLUDE=/usr/local/include/oatpp-1.3.0/oatpp
OATPP_TEST_INCLUDE=/usr/local/include/oatpp-1.3.0/oatpp
############################################################################
## oatpp-postgresql module. Resolving dependencies...
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found
version "15.1")
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.18/Modules/FindPostgreSQL.cmake:248 (find_package_handle_standard_args)
CMakeLists.txt:95 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/begerad/git/github/dancesWithCycles/oatpp-ex-postgresql/tmp/oatpp-postgresql/build/CMakeFiles/CMakeOutput.log".
The development host is a GNU/Debian Buster with the following environment.
$ sudo apt install libpq-dev libpq5 libpqxx-dev --no-install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpqxx-dev is already the newest version (6.4.5-2).
libpq-dev is already the newest version (15.1-1.pgdg110+1).
libpq5 is already the newest version (15.1-1.pgdg110+1).
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
I believe this may be a problem with CMake rather than oatpp. FWIW, I just successfully built oatpp-postgresql 1.3.0 on Debian 12 against PG 16 using CMake 3.30, but I recall seeing something similar to what you report when building some other PG/CMake-dependent project.
Hi folks,
Thank you so much for providing and maintaining this repository. I started building this oatpp module and got stuck at this place.
Build feedback:
The development host is a GNU/Debian Buster with the following environment.
PostgreSQL version:
Any idea, why this module is not resolving dependencies?
Is here a certain (newer than version 13.9) version of PostgreSQL required?
Cheers!
The text was updated successfully, but these errors were encountered: