wobbals / barc

Batch archive processing for OpenTok individual stream archives
Other
6 stars 6 forks source link

docker-compose build failure #19

Closed matsubo closed 6 years ago

matsubo commented 6 years ago

I tried to build using docker-compose today, the build stops with following error. Can someone give me a suggestion to fix this problem?

% docker-compose build
<snip>
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.64.101
-- Checking for module 'libavutil'
--   Found libavutil, version 55.34.101
-- Checking for module 'libavformat'
--   Found libavformat, version 57.56.101
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.65.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.2.100
-- Checking for module 'libswresample'
--   Found libswresample, version 2.3.100
-- Checking for module 'libuv'
--   Found libuv, version 1.18.0
-- Checking for module 'libzip'
--   Found libzip, version 1.1.2
-- Checking for module 'jansson'
--   Found jansson, version 2.11
-- Checking for module 'curl'
--   No package 'curl' found
CMake Error at CMakeLists.txt:81 (add_subdirectory):
  add_subdirectory given source "ext/googletest/googletest" which is not an
  existing directory.

CMake Error at CMakeLists.txt:89 (cxx_executable):
  Unknown CMake command "cxx_executable".

-- Configuring incomplete, errors occurred!
See also "/var/lib/barc/build/CMakeFiles/CMakeOutput.log".
ERROR: Service 'barc-worker' failed to build: The command '/bin/sh -c mkdir -p /var/lib/barc/build /var/lib/barc/bin && cd /var/lib/barc/build && cmake .. && make && mv barc ../bin && rm -rf *' returned a non-zero code: 1
wobbals commented 6 years ago

Before you build, be sure to get the submodules.

matsubo commented 6 years ago

thanks. build succeeded.