Status: Fixed but Unreleased (View Workflow)
Resolution: Not A Defect
I'm trying to build a simple project in C++ hosted in Bitbucket with CMake plugin and i get this error
[build] $ cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release /var/jenkins_home/workspace/ticpp_ip_libs
ERROR: Cannot run program "cmake" (in directory "/var/jenkins_home/workspace/ticpp_ip_libs/build"): error=2, No such file or directory
Build step 'CMake Build' marked build as failure
Directory layout looks good. You are using the latest version of cmake, so I suspected the directory layout in the downloaded zip changed, which is apparently not the case.
But from the ldd output, I see this
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/bin/cmake)
This is definitely not related to the cmake plugin.
Yes, that error y so weird, but i don't know how to add that shared library missed. The jenkins-blueocean not have a package manager like dnf, yum or apt-get, what can i do?
Yes, i'll do that, thanks a lot Martin!! I really appreciate your help
In the /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/ directory, are the following files:
bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/
bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/bin/
ccmake cmake cmake-gui cpack ctest
bash-4.4$ ls /var/jenkins_home/tools/hudson.plugins.cmake.CmakeTool/3.17.3/share/
aclocal applications cmake-3.17 icons mime