nv-morpheus / Morpheus

Morpheus SDK
Apache License 2.0
336 stars 125 forks source link

[DOC]: Missing submodule init step in Getting Started guide #1871

Open ashsong-nv opened 2 weeks ago

ashsong-nv commented 2 weeks ago

How would you describe the priority of this documentation request

Medium

Please provide a link or source to the relevant docs

https://docs.nvidia.com/morpheus/getting_started.html#building-the-morpheus-container

Describe the problems in the documentation

I tried to build morpheus release container using the instructions in the Getting Started guide and ran into the following error:

233.3 Runing CMake configure...
233.3 + set -e
233.3 + BUILD_DIR=build
233.3 + echo 'Runing CMake configure...'
233.3 + cmake -S . -B build -GNinja -DCMAKE_MESSAGE_CONTEXT_SHOW=ON -DMORPHEUS_USE_CLANG_TIDY=OFF -DMORPHEUS_PYTHON_INPLACE_BUILD=ON -DMORPHEUS_PYTHON_PERFORM_INSTALL=ON -DMORPHEUS_USE_CCACHE=ON -DMORPHEUS_USE_CONDA=ON -DMORPHEUS_SUPPORT_DOCA=OFF -DCMAKE_AR=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=/opt/conda/envs/morpheus/bin/x86_64-conda-linux-gnu-strip -DMORPHEUS_BUILD_DOCS=ON -DMORPHEUS_PYTHON_BUILD_STUBS=OFF -DMORPHEUS_CUDA_ARCHITECTURES=RAPIDS
233.3 CMake Error at CMakeLists.txt:69 (include):
233.3   include could not find requested file:
233.3 
233.3     morpheus_utils/load
233.3 
233.3 
233.3 CMake Error at CMakeLists.txt:71 (morpheus_utils_initialize_package_manager):
233.3   Unknown CMake command "morpheus_utils_initialize_package_manager".
233.3 
233.3 
233.3 -- Configuring incomplete, errors occurred!
------
Dockerfile:239
--------------------

I believe the missing morpheus_utils/load file is due to uninitialized submodules. I was able to build successfully after running git submodule update --init --recursive.

(Optional) Propose a correction

Add instructions to run git submodule update --init --recursive step after cloning.

Code of Conduct

morpheus-bot-test[bot] commented 2 weeks ago

Hi @ashsong-nv!

Thanks for submitting this issue - our team has been notified and we'll get back to you as soon as we can! In the meantime, feel free to add any relevant information to this issue.