Service Fabric is a distributed systems platform for packaging, deploying, and managing stateless and stateful distributed applications and containers at large scale.
I got an error: CMake was unable to find a build program corresponding to "Ninja" when I run runbuild.sh. Am I doing something wrong? The Linux version and detailed output as below:
~/service-fabric$ uname -vr
4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018
~/service-fabric$ ./runbuild.sh -c -n
-c -n
Start build at Wed Mar 21 15:53:36 UTC 2018.
Distribution: DEBIAN
Checking WinFab.Linux.Libs.2.2.7:found.
Checking WinFab.CoreCLR.Libs.6.2.183:found.
Checking ServiceFabric.Explorer.2017.11.13.1:found.
Checking WinFab.Ktl.Linux.debug.1.1.2.52:found.
Checking WinFab.Ktl.Linux.retail.1.1.2.52:found.
Checking Microsoft.ServiceFabric.Upgrade.Test.Internal.6.0.0.22:found.
Installing /src/prod/tools/linux/../../../../external/WinFab.Linux.Libs/Boost_1_61_0/lib/libboost_unit_test_framework.so.1.61.0 into /usr/lib
cp: cannot stat '/src/prod/tools/linux/../../../../external/WinFab.Linux.Libs/Boost_1_61_0/lib/libboost_unit_test_framework.so.1.61.0': No such file or directory
Building and installing clang...
Creating clang++
Creating clang-cl
Creating clang-cpp
Building and installing llvm...
Building and installing zlib...
Building and installing boost...
Building and installing jemalloc...
Building and installing babeltrace...
libtool: warning: relinking 'libbabeltrace-ctf.la'
libtool: warning: relinking 'libbabeltrace-ctf-text.la'
libtool: warning: relinking 'libbabeltrace-ctf-metadata.la'
libtool: warning: relinking 'libbabeltrace-dummy.la'
libtool: warning: relinking 'libbabeltrace-lttng-live.la'
Building and installing cpprest...
Start to build prod directory ...
/out /out
Precompilation is disabled as requested.
Build Type: RelWithDebInfo
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
Error: cmd failed: cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug ../prod
Same as #33. Fixing in upcoming PR. For now try build without ninja or add ninja to your Dockerfile "apt-get install" package list and run ./tools/builddocker.sh
I got an error: CMake was unable to find a build program corresponding to "Ninja" when I run runbuild.sh. Am I doing something wrong? The Linux version and detailed output as below: