skit-ai / kaldi-serve

Server framework for Kaldi ASR Toolkit
Apache License 2.0
97 stars 24 forks source link

docker build error #40

Open v-yunbin opened 1 year ago

v-yunbin commented 1 year ago

commad:docker build -t kaldi-serve:py3.6.5 -f python/Dockerfile . error:


Step 5/10 : RUN bash -c "source ~/.bashrc && cd build &&              cmake .. -DBUILD_SHARED_LIBS=OFF -DBUILD_PYTHON_MODULE=ON -DBUILD_PYBIND11=ON -DPYTHON_EXECUTABLE=\$(which python3) &&              make -j$(nproc) VERBOSE=1"
 ---> Running in 437142c272d7
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake-3.20/Modules/FindBoost.cmake:2344 (find_package_handle_standard_args)
  CMakeLists.txt:23 (find_package)

-- Configuring incomplete, errors occurred!
See also "/root/kaldi-serve/build/CMakeFiles/CMakeOutput.log".
The command '/bin/sh -c bash -c "source ~/.bashrc && cd build &&              cmake .. -DBUILD_SHARED_LIBS=OFF -DBUILD_PYTHON_MODULE=ON -DBUILD_PYBIND11=ON -DPYTHON_EXECUTABLE=\$(which python3) &&              make -j$(nproc) VERBOSE=1"' returned a non-zero code: 1