valhalla / docker

docker
MIT License
17 stars 22 forks source link

Build from source errors out #53

Open buildscientist opened 4 years ago

buildscientist commented 4 years ago

Building a Valhalla Docker container from source fails due to the replacement of autoconf with cmake done in the core valhalla repo - https://github.com/valhalla/valhalla/commit/9d3f5a5db47be8b9e6a1d518f5cf9bd8af657f6f

The scripts/install_from_source.sh should probably be replaced with the latest (Ubuntu Bionic install) from the valhalla repo

buildscientist commented 4 years ago

Here's the output/error from the install_from_source.sh script

Cloning into 'libvalhalla'...
Submodule 'OSM-binary' (https://github.com/scrosby/OSM-binary.git) registered for path 'third_party/OSM-binary'
Submodule 'third_party/date' (https://github.com/HowardHinnant/date.git) registered for path 'third_party/date'
Submodule 'third_party/dirent' (https://github.com/tronkko/dirent) registered for path 'third_party/dirent'
Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/googletest'
Submodule 'rapidjson' (https://github.com/miloyip/rapidjson) registered for path 'third_party/rapidjson'
Cloning into 'third_party/OSM-binary'...
Submodule path 'third_party/OSM-binary': checked out '4e32fa236e919be5bb8dbb323437f026f24e5853'
Cloning into 'third_party/date'...
Submodule path 'third_party/date': checked out '3e82a52d665cdaaa51027f15906bf503b6896142'
Cloning into 'third_party/dirent'...
Submodule path 'third_party/dirent': checked out '287ba928bfe9d20796bf0428d449abc8d6f29d79'
Cloning into 'third_party/googletest'...
Submodule path 'third_party/googletest': checked out 'd166e09483845b9b6a658dccc3d3dbb293676b62'
Cloning into 'third_party/rapidjson'...
Submodule path 'third_party/rapidjson': checked out '73063f5002612c6bf64fe24f851cd5cc0d83eef9'
Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'thirdparty/gtest'
Cloning into 'thirdparty/gtest'...
Submodule path 'third_party/rapidjson/thirdparty/gtest': checked out '0a439623f75c029912728d80cb7f1b8b48739ca4'
/scripts/install_from_source.sh: line 54: ./autogen.sh: No such file or directory
Removing intermediate container 6ba0b15a4b74
The command '/bin/sh -c /scripts/install_from_source.sh' returned a non-zero code: 1