Error executing CMake: Cannot run program “cmake“

简介: Error executing CMake: Cannot run program “cmake“

[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:3.2.2:cmake-compile (cmake-compile) on project hadoop-pipes: Error executing CMake: Cannot run program “cmake” (in directory “/Users/zhuxuemin/IdeaProjects/hadoop-3.2.2-src/hadoop-tools/hadoop-pipes/target/native”): error=2, No such file or directory -> [Help 1]

[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:3.2.2:cmake-compile (cmake-compile) on project hadoop-common: Error executing CMake: Cannot run program “cmake” (in directory “/Users/zhuxuemin/IdeaProjects/hadoop-3.2.2-src/hadoop-common-project/hadoop-common/target/native”): error=2, No such file or directory -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :hadoop-pipes

有效的解决办法: brew install autoconf automake cmake wget

目录
相关文章
|
7月前
|
Shell 开发工具 Android开发
详解sh ndk-build.cmd command not found
【4月更文挑战第2天】
|
7月前
|
NoSQL C语言
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
1508 0
|
7月前
解决运行qmake:Project ERROR: Cannot run compiler ‘cl‘. Output:
解决运行qmake:Project ERROR: Cannot run compiler ‘cl‘. Output:
698 0
|
计算机视觉
CMake Warning at cmake/OpenCVDownload.cmake:202 (message): IPPICV: Download failed: 28;“Timeout
CMake Warning at cmake/OpenCVDownload.cmake:202 (message): IPPICV: Download failed: 28;“Timeout
795 0
CMake Warning at cmake/OpenCVDownload.cmake:202 (message): IPPICV: Download failed: 28;“Timeout
|
Android开发
ndk-build.cmd‘‘ finished with non-zero exit value 2
ndk-build.cmd‘‘ finished with non-zero exit value 2
208 0
ndk-build.cmd‘‘ finished with non-zero exit value 2
遇到错误怎么办:ndk-build.cmd‘‘ finished with non-zero exit value 2
遇到错误怎么办:ndk-build.cmd‘‘ finished with non-zero exit value 2
424 0
|
C语言
gcc is unable to create an executable file.
gcc is unable to create an executable file.
410 0
|
数据可视化 编译器 Windows
CMake“cmake is not able to compile a simple test program”错误 的解决方法
CMake“cmake is not able to compile a simple test program”错误 的解决方法
984 0
|
数据可视化 编译器 Windows
关于 CMake“cmake is not able to compile a simple test program”错误 的解决方法
关于 CMake“cmake is not able to compile a simple test program”错误 的解决方法
关于 CMake“cmake is not able to compile a simple test program”错误 的解决方法
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t