CMAKE 用于在 Fedora-20 中编译 NFS-Ganesha



当我尝试通过键入命令在 fedora-20 的终端上启动cmake

CCMAKE../nfs-ganesha-master/src

然后在ccmake终端中打开一个窗口,该窗口可在以下链接中使用 -(在 Unix 上的主题运行 CMAKE 下) http://www.cmake.org/cmake/help/runningcmake.html

当我按 c 进行配置时,错误显示为-

错误:

CMake Error at cmake/maintainer_mode.cmake:48 (message):
   Maintainer-DDEBUG_SYMS=ON is not a valid build type.
 Call Stack (most recent call first):
   CMakeLists.txt:77 (include)

 CMake Warning at CMakeLists.txt:364 (message):
   Cannot find GLUSTER GFAPI runtime.  Disabling GLUSTER fsal build
 CMake Warning at CMakeLists.txt:382 (message):
   Cannot find CEPH runtime.  Disabling CEPH fsal build
 CMake Warning at CMakeLists.txt:400 (message):
   Cannot find LUSTRE runtime.  Disabling LUSTRE fsal build
 CMake Warning at CMakeLists.txt:437 (message):
   Cannot find XFS runtime.  Disabling XFS build
 CMake Warning at CMakeLists.txt:455 (message):
   Cannot find ZFS runtime.  Disabling ZFS build
CMake Warning at CMakeLists.txt:467 (message):
   jemalloc not found, falling back to libc
 CMake Warning at CMakeLists.txt:503 (message):
   libnfsidmap not found, disabling USE_NFSIDMAP
 CMake Warning at CMakeLists.txt:523 (message):
   Samba 4 wbclient not found.  Disabling MSPAC_SUPPORT
 CMake Error at CMakeLists.txt:640 (message):
   No CMakeLists.txt found in libntirpc

上次传递期间发生错误

CMake Version 2.8.10.2
Press [e] to exit help
对于错误消息

"libntirpc中找不到CMakeLists.txt",在我从 https://github.com/nfs-ganesha/ntirpc 下载ntirpc并将它们放入文件夹nfs-ganesha/src/libntirpc/后,该消息在我的情况下消失了。希望这有帮助。

最新更新