-
Hello! Message: CMake Warning at CMakeLists.txt:151 (message): CMake Warning at CMakeLists.txt:160 (message): CMake Warning at CMakeLists.txt:169 (message): CMake Warning at CMakeLists.txt:178 (message): -- Configuring done CMake Error in osm2pgsql/CMakeLists.txt:
CMake Error in osm2pgsql/src/CMakeLists.txt:
-- Generating done ` I have installed them with:
But even after this it fails the same. What could be the problem? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
First, it looks like you are installing Nominatim, not plain osm2pgsql. Nominatim uses osm2pgsql, but it does a lot more around it, which we don't know about here and can not help you with. Second, it looks like you are missing the |
Beta Was this translation helpful? Give feedback.
-
@joto The Nominatim build did it right now - the documentation didnt mention nlohmann as requirement - i will tell them. Thank you you made my day! |
Beta Was this translation helpful? Give feedback.
First, it looks like you are installing Nominatim, not plain osm2pgsql. Nominatim uses osm2pgsql, but it does a lot more around it, which we don't know about here and can not help you with.
Second, it looks like you are missing the
nlohmann
JSON library. Older versions of osm2pgsql didn't need that, but the newest version does, so it might be missing from some documentation. On Ubuntu you have to install thenlohmann-json3-dev
package for that.