valhalla/homebrew-valhalla

Failing to install Valhalla to MacOS

sabir012 opened this issue · 0 comments

Hi Team,
While installing valhalla to MacOS via homebrew I got following issue, please can you check:

`
Installing valhalla from valhalla/valhalla
==> Cloning https://github.com/valhalla/valhalla.git
Updating /Users/sabiralizada/Library/Caches/Homebrew/valhalla--git
==> Checking out revision 9338349dc1c0fce65ec2333d872149268250b7dd
HEAD is now at 9338349dc update to 3.0.2
HEAD is now at 9338349dc update to 3.0.2
Entering 'third_party/OSM-binary'
Entering 'third_party/OSMLR'
Entering 'third_party/date'
Entering 'third_party/dirent'
Entering 'third_party/rapidjson'
Synchronizing submodule url for 'thirdparty/gtest'
Entering 'third_party/rapidjson/thirdparty/gtest'
/Users/sabiralizada/Library/Caches/Homebrew/valhalla--git/third_party/OSM-binary
/Users/sabiralizada/Library/Caches/Homebrew/valhalla--git/third_party/OSMLR
/Users/sabiralizada/Library/Caches/Homebrew/valhalla--git/third_party/date
/Users/sabiralizada/Library/Caches/Homebrew/valhalla--git/third_party/dirent
/Users/sabiralizada/Library/Caches/Homebrew/valhalla--git/third_party/rapidjson
/Users/sabiralizada/Library/Caches/Homebrew/valhalla--git/third_party/rapidjson/thirdparty/gtest
==> git submodule update --init --recursive
==> cmake .. -DENABLE_PYTHON_BINDINGS=On -DCMAKE_BUILD_TYPE=Release -DENABLE_NOD
==> make

Last 15 lines from /Users/sabiralizada/Library/Logs/Homebrew/valhalla/03.make:
make[2]: *** [valhalla_service] Error 1
make[1]: *** [CMakeFiles/valhalla_service.dir/all] Error 2
[ 89%] Linking CXX executable valhalla_convert_transit
/usr/local/Cellar/cmake/3.16.2/bin/cmake -E cmake_link_script CMakeFiles/valhalla_convert_transit.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -fcolor-diagnostics -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/valhalla_convert_transit.dir/src/mjolnir/valhalla_convert_transit.cc.o -o valhalla_convert_transit src/libvalhalla.a /usr/local/lib/libboost_program_options.dylib /usr/local/lib/libboost_filesystem.dylib /usr/local/lib/libboost_system.dylib /usr/local/lib/libprotobuf-lite.dylib /usr/lib/libcurl.dylib /usr/lib/libz.dylib /usr/local/lib/libprime_server.dylib /usr/local/lib/libboost_date_time.dylib /usr/local/lib/libspatialite.dylib /usr/local/opt/sqlite3/lib/libsqlite3.dylib /usr/local/lib/liblua5.3.dylib
[ 89%] Linking CXX executable valhalla_build_statistics
/usr/local/Cellar/cmake/3.16.2/bin/cmake -E cmake_link_script CMakeFiles/valhalla_build_statistics.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -fcolor-diagnostics -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/valhalla_build_statistics.dir/src/mjolnir/valhalla_build_statistics.cc.o CMakeFiles/valhalla_build_statistics.dir/src/mjolnir/statistics.cc.o CMakeFiles/valhalla_build_statistics.dir/src/mjolnir/statistics_database.cc.o -o valhalla_build_statistics src/libvalhalla.a /usr/local/lib/libboost_program_options.dylib /usr/local/lib/libboost_filesystem.dylib /usr/local/lib/libboost_system.dylib /usr/local/lib/libprotobuf-lite.dylib /usr/lib/libcurl.dylib /usr/lib/libz.dylib /usr/local/lib/libprime_server.dylib /usr/local/lib/libboost_date_time.dylib /usr/local/lib/libspatialite.dylib /usr/local/opt/sqlite3/lib/libsqlite3.dylib /usr/local/lib/liblua5.3.dylib
[ 89%] Built target valhalla_build_statistics
[ 89%] Built target valhalla_convert_transit
[ 89%] Linking CXX executable valhalla_fetch_transit
/usr/local/Cellar/cmake/3.16.2/bin/cmake -E cmake_link_script CMakeFiles/valhalla_fetch_transit.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -fcolor-diagnostics -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/valhalla_fetch_transit.dir/src/mjolnir/valhalla_fetch_transit.cc.o -o valhalla_fetch_transit src/libvalhalla.a /usr/local/lib/libboost_program_options.dylib /usr/local/lib/libboost_filesystem.dylib /usr/local/lib/libboost_system.dylib /usr/local/lib/libprotobuf-lite.dylib /usr/lib/libcurl.dylib /usr/lib/libz.dylib /usr/local/lib/libprime_server.dylib /usr/local/lib/libboost_date_time.dylib /usr/local/lib/libspatialite.dylib /usr/local/opt/sqlite3/lib/libsqlite3.dylib /usr/local/lib/liblua5.3.dylib
[ 89%] Built target valhalla_fetch_transit
make: *** [all] Error 2
`