Hi, The solution is to build against a more recent Ceph build. The required API version is scheduled for backport to Ceph Jewel, so eventually, that is the highest version you'll need to use the RGW FSAL with nfs-ganesha 2.4. A quick fix, though, is just to clone and build a more recent Ceph baseline (e.g., current master).
Regards, Matt ----- Original Message ----- > From: "yiming xie" <plato...@gmail.com> > To: nfs-ganesha-devel@lists.sourceforge.net > Sent: Monday, September 26, 2016 10:40:55 PM > Subject: [Nfs-ganesha-devel] Help!!! nfs-ganesha FSAL_RGW cmake error. > > I want to run nfs-ganesha base on Ceph RGW. > I have a error when install nfs-ganesha. > How to solve this problem? > > cmake -DUSE_FSAL_RGW=ON -DRGW_LIBRARY=/usr/lib64 ../src/ > > -- Looking for rgw_mount in rgw > -- Looking for rgw_mount in rgw - found > -- nike:rgw lib= /usr/lib64 rgwlib=1 > -- Found rgw libraries: /usr/lib64 > -- fie head=/usr/include/rados/rgw_file.h include dir=/usr > -- Could NOT find RGW: Found unsuitable version ".", but required is at least > "1.1" (found /usr) > CMake Warning at CMakeLists.txt:571 (message): > Cannot find supported RGW runtime. Disabling RGW fsal build > > install env: > centos7, librgw:ibrgw2.x86_64, librgw2-devel.x86_64 > ceph cluster version: jewel:10.2.2 > > nfs-ganesha version: 2.3 (stable) and 2.4 have same problem. > > > I change > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nfs-ganesha-devel mailing list > Nfs-ganesha-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel > -- Matt Benjamin Red Hat, Inc. 315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103 http://www.redhat.com/en/technologies/storage tel. 734-707-0660 fax. 734-769-8938 cel. 734-216-5309 ------------------------------------------------------------------------------ _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel