Where can I find this kinetic devel package ?

-- Julien

On 11/28/2014 03:04 PM, Haomai Wang wrote:
Yeah, ceph source repo doesn't contain Kinetic header file and library
souce, you need to install kinetic devel package separately.

On Fri, Nov 28, 2014 at 7:02 PM, Julien Lutran <julien.lut...@ovh.net> wrote:
Hi !

Thanks for the quick fix !
However, the compilation is still failing because kinetic.h (called by
KineticStore.h) is not present in the source files :

root@host:~/sources/ceph# ./configure --with-kinetic
root@host:~/sources/ceph# make

[...]

   CXX      os/libos_la-KeyValueDB.lo
   CXX      os/libos_la-KeyValueStore.lo
In file included from os/KeyValueStore.cc:53:0:
os/KineticStore.h:13:29: fatal error: kinetic/kinetic.h: No such file or
directory
  #include <kinetic/kinetic.h>
                              ^
compilation terminated.
os/KeyValueDB.cc: In static member function 'static KeyValueDB*
KeyValueDB::create(CephContext*, const string&, const string&)':
os/KeyValueDB.cc:18:16: error: expected type-specifier before 'KineticStore'
      return new KineticStore(cct);
                 ^
os/KeyValueDB.cc:18:16: error: expected ';' before 'KineticStore'
os/KeyValueDB.cc:18:32: error: 'KineticStore' was not declared in this scope
      return new KineticStore(cct);
                                 ^
os/KeyValueDB.cc: In static member function 'static int
KeyValueDB::test_init(const string&, const string&)':
os/KeyValueDB.cc:36:12: error: 'KineticStore' has not been declared
      return KineticStore::_test_init(g_ceph_context);
             ^
   CXX      os/libos_la-ObjectStore.lo
Makefile:12923: recipe for target 'os/libos_la-KeyValueDB.lo' failed

root@host:~/sources/ceph# find . -name kinetic.h
root@host:~/sources/ceph#


-- Julien


On 11/26/2014 01:24 PM, Haomai Wang wrote:
Obviously it's a careless bug.

I will fix it soon!

On Wed, Nov 26, 2014 at 8:19 PM, Julien Lutran <julien.lut...@ovh.net>
wrote:
Hi all,

I am trying to build Ceph from source with kinetic support.
Unfortunately,
the build is failing :

root@host:~/sources/ceph# ./autogen.sh
root@host:~/sources/ceph# ./configure --with-kinetic
root@host:~/sources/ceph# make
[...]
    CXX      os/libos_la-LFNIndex.lo
    CXX      os/libos_la-MemStore.lo
    CXX      os/libos_la-KeyValueDB.lo
os/KeyValueDB.cc: In static member function 'static KeyValueDB*
KeyValueDB::create(CephContext*, const string&, const string&)':
os/KeyValueDB.cc:17:7: error: 'kv_type' was not declared in this scope
     if (kv_type == KV_TYPE_KINETIC) {
         ^
os/KeyValueDB.cc:17:18: error: 'KV_TYPE_KINETIC' was not declared in this
scope
     if (kv_type == KV_TYPE_KINETIC) {
                    ^
os/KeyValueDB.cc:18:5: error: 'store' was not declared in this scope
       store = new KineticStore(g_ceph_context);
       ^
os/KeyValueDB.cc:18:17: error: expected type-specifier before
'KineticStore'
       store = new KineticStore(g_ceph_context);
                   ^
os/KeyValueDB.cc: In static member function 'static int
KeyValueDB::test_init(const string&, const string&)':
os/KeyValueDB.cc:35:7: error: 'kv_type' was not declared in this scope
     if (kv_type == KV_TYPE_KINETIC) {
         ^
os/KeyValueDB.cc:35:18: error: 'KV_TYPE_KINETIC' was not declared in this
scope
     if (kv_type == KV_TYPE_KINETIC) {
                    ^
Makefile:12923: recipe for target 'os/libos_la-KeyValueDB.lo' failed
make[3]: *** [os/libos_la-KeyValueDB.lo] Error 1
make[3]: Leaving directory '/root/sources/ceph/src'
Makefile:17587: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/sources/ceph/src'
Makefile:6783: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/sources/ceph/src'
Makefile:458: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Am I missing something ?
Any help will be greatly appreciated

-- Julien
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to