I followed the below steps to install CBLite tool,
- Install the CMake tool with Homebrew (
brew install cmake
) - Clone the CBLite tool and, through the terminal, navigate to the
ci
folder. - Make
build.sh
file executable (chmod +X build.sh
) and run it (./build.sh
)
Once I run ./build.sh
, I’m getting some error and unable to move forward.
~/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build ~/Ajith/CBTools/couchbase-mobile-tools ~/Ajith/CBTools/couchbase-mobile-tools/ci
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Applications/Xcode 10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode 10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken
CMake Error at /usr/local/Cellar/cmake/3.14.5/share/cmake/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/Applications/Xcode 10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/A6AH/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_bcd2a/fast
/Applications/Xcode 10.2.1.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_bcd2a.dir/build.make CMakeFiles/cmTC_bcd2a.dir/build
make: /Applications/Xcode: No such file or directory
make: *** [cmTC_bcd2a/fast] Error 1
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/A6AH/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build/CMakeFiles/CMakeOutput.log".
See also "/Users/A6AH/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build/CMakeFiles/CMakeError.log".
make: *** No rule to make target `cblite'. Stop.
~/Ajith/CBTools/couchbase-mobile-tools ~/Ajith/CBTools/couchbase-mobile-tools/ci
~/Ajith/CBTools/couchbase-mobile-tools/ci
Any idea about this issue?