Open gsontheimer opened 2 years ago
I have used the following command to clone osm2pgsql:
git clone https://github.com/openstreetmap/osm2pgsql.git
I am not sure, I get the same data/code. But the cloning worked. However,, following the script, when I execute ...
cmake ..
I do get the following error:
CMake Error in CMakeLists.txt: Target "osm2pgsql" requires the language dialect "CXX17" , but CMake does not know the compile flags to use to enable it.
CMake Error in src/CMakeLists.txt: Target "osm2pgsql_lib" requires the language dialect "CXX17" , but CMake does not know the compile flags to use to enable it.
How can I fix this?
Is it possible, that the instructions on how to set up the server no longer work with Ubuntu 16.04 ???
I tried several times and had no luck so far!
Hi you can try with tag version 1.2.0
git clone https://github.com/openstreetmap/osm2pgsql.git --branch '1.2.0'
It is working for me
This is how far I get and when it fails:
root@MapServer:~/src# git clone git://github.com/openstreetmap/osm2pgsql.git Cloning into 'osm2pgsql'... fatal: unable to connect to github.com: github.com[0: 140.82.121.4]: errno=Connection timed out
What triggers the "unable to connect to github.com" error message? I tied this a couple of times yesterday and today; needless to say I have a fast and stable internet connection.
Any ideas???