It might help to add the CentOS Storage SIG's nfs-ganesha yum repo, just for the dependencies. And for FSAL_CEPH you'll need the ceph repo too. `dnf install centos-release-nfs-ganesha-30` and `centos-release-ceph-octopus`. Make sure that the CentOS-Linux-AppStream and CentOS-Linux-Extras repos are enabled. Some people like to use EPEL, but you should be able to build without it if you have all of the above. -- Kaleb On Mon, Apr 19, 2021 at 6:32 AM <lokendrarathour@gmail.com> wrote:
****update ****** Also trying further with Centos 7, we found that package "nfs-utils-lib-devel " and "libgssglue-devel" is not available. Getting error while cmake:
[root@centos7 src]# cmake ../src -DUSE_FSAL_CEPH=ON -- cmake version 2.8 -- override default CMAKE_INSTALL_PREFIX = /usr -- Detected an UNKNOWN Linux machine -- toolchain options processed CMake Warning at cmake/maintainer_mode.cmake:45 (message): CMAKE_BUILD_TYPE is not set, defaulting to Debug Call Stack (most recent call first): CMakeLists.txt:130 (include)
-- Compilation from within a git repository. Using git rev-parse HEAD -- found krb5-config here /usr/bin/krb5-config -- Found kerberos 5 headers: /include -- Found kerberos 5 libs: /usr/lib64/libkrb5.so;/usr/lib64/libk5crypto.so;/usr/lib64/libcom_err.so;/usr/lib64/libgssapi_krb5.so CMake Warning at CMakeLists.txt:598 (message): Cannot find lustreapi. We will only build a dummy lustre fsal.
CMake Warning at CMakeLists.txt:609 (message): Cannot find LizardFS client lib. Disabling lizardfs fsal
-- REQUIRED -- Found cephfs libraries: CEPHFS_LIBRARY-NOTFOUND CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:109 (message): Could NOT find CEPHFS (missing: CEPHFS_INCLUDE_DIR CEPHFS_LIBRARY_DIR) Call Stack (most recent call first): cmake/modules/FindPackageHandleStandardArgs.cmake:317 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindCEPHFS.cmake:156 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:617 (find_package)
-- Configuring incomplete, errors occurred!
How to reproduce:
1. git Clone: git clone https://github.com/nfs-ganesha/nfs-ganesha -b V3.3 2. cd nfs-ganesha 3. mkdir build 4. cmake ../src -DUSE_FSAL_CEPH=ON
post which we are getting error as mentioned above.
*OS Version: Centos 7 and Centos 8 *cmake version: 2.8.10.2 _______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org