tomtaylor / valhalla-docker

Dockerfile for Mapzen's Valhalla router
1 stars 15 forks source link

docker build fails on yaml-cpp #4

Open amillerBoundless opened 8 years ago

amillerBoundless commented 8 years ago

when running "docker build -t valhalla ." I get the following error:

`checking for -lprotobuf... yes checking for boostlib >= 1.54... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for DEPS... no configure: error: Package requirements (protobuf >= 2.4.0 libzmq >= 4.0 libprime_server >= 0.3.1 yaml-cpp >= 0.5.2) were not met:

No package 'yaml-cpp' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. The command '/bin/sh -c cd odin && ./autogen.sh && ./configure CPPFLAGS=-DBOOST_SPIRIT_THREADSAFE && make -j4 && make install && cd ..' returned a non-zero code: 1`

I'm running Docker version 1.8.2, build 0a8c2e3 on a MacBookPro.

andrewtscott commented 8 years ago

I ran into the same issue. Try running scripts/install_yml_cpp.sh in the odin repository.