Home > OS >  O bosses!!!!!!!!!! When installing Nominatim cmake compilation Could NOT find PostgreSQL errors
O bosses!!!!!!!!!! When installing Nominatim cmake compilation Could NOT find PostgreSQL errors

Time:01-23

When installing Nomainatim Centos8 came this step:

But in the end when cmake to find PostgreSQL, but it does have installed PostgreSQL, find many of the solutions are not on the net, have bosses have had, can help me with it?
Thank you very much!!!!!!!!!!!!!!!!!!!!!
is a compilation error message when the following:
 [nominatim @ VM - 0-5 - centos/SRV/nominatim/nominatim/build] $$USERHOME/nominatim cmake/
CMake Deprecation warnings at CMakeLists. TXT: 9 (cmake_minimum_required) :
Compatibility with CMake & lt; 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument & lt; Min> The value or use a... Suffix to tell
CMake that the project does not need compatibility with older versions.


- The C compiler identification is The GNU 8.3.1
- The CXX compiler identification is The GNU 8.3.1
- Detecting C compiler ABI info
- Detecting C compiler ABI info - done
- Check for working C compiler:/usr/bin/cc - skipped
- Detecting C compile the features
- Detecting C compile the features - done
- Detecting CXX compiler ABI info
- Detecting CXX compiler ABI info - done
- Check for working CXX compiler:/usr/bin/c + + - skipped
- Detecting CXX compile the features
- Detecting CXX compile the features - done
- Building osm2pgsql 1.4.0
- Building in c + + 11 mode
- Found the Git:/usr/bin/Git (Found version "2.27.0")
- & for the include file termios. H
- & for the include file termios. H - found
- & for the include file unistd. H
- & for the include file unistd. H - found
- Found ZLIB:/usr/lib64/libz. So (Found version "1.2.11)
H - & for the pthread.
- & for the pthread. H - found
- Performing the Test CMAKE_HAVE_LIBC_PTHREAD
- Performing the Test CMAKE_HAVE_LIBC_PTHREAD - Failed
- & for pthread_create in pthreads
- & for pthread_create pthreads - not found in the
- & for pthread_create in pthread
- & for pthread_create pthread - found in
- Found the Threads: TRUE
- Found Protozero:/SRV/nominatim/nominatim/osm2pgsql/contrib/Protozero/include (Found suitable version "1.7.0," minimum required is "1.6.3)
- Found the EXPAT:/usr/lib64/libexpat. So (Found version 2.2.5)
- Found BZip2:/usr/lib64/libbz2. So (Found version 1.0.6 ")
- & for BZ2_bzCompressInit
- & for BZ2_bzCompressInit - found
- Found Osmium:/SRV/nominatim/nominatim/osm2pgsql/contrib/libosmium/include (Found suitable version "2.15.6," minimum required is "2.15.6")
- Found Boost:/usr/include (Found suitable version "1.66.0," minimum required is "1.50") Found components: system filesystem
CMake Error at/usr/local/share/CMake - 3.19/Modules/FindPackageHandleStandardArgs. CMake: 218 (the message) :
Could NOT find PostgreSQL (missing: PostgreSQL_INCLUDE_DIR)
The Call Stack (the most recent Call first) :
/usr/local/share/cmake - 3.19/Modules/FindPackageHandleStandardArgs. Cmake: 582 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake - 3.19/Modules/FindPostgreSQL. Cmake: 247 (find_package_handle_standard_args)
Osm2pgsql/CMakeLists. TXT: 198 (find_package)


- you incomplete, errors occurred!
See also "/SRV/nominatim nominatim/build/CMakeFiles/CMakeOutput log".
See also "/SRV/nominatim nominatim/build/CMakeFiles/CMakeError log".

CodePudding user response:

Got a few days also, online, etc... Urgent QAQ
  • Related