ceph master build fails on src/gmock, workaround?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

I cloned the master branch of ceph at https://github.com/ceph/ceph.git
onto a Centos 7 machine, then did

./autogen.sh
./configure --enable-xio
make

but the build fails when it references the src/gmock subdirectory, see
below.   Typing "make" a second time stops in the same place.  To get past
this problem I had to cd into src/gmock, type "make", wait for it to
finish compiling, then cd back to the top and restart the make again.

Anyone else seeing this?  Seems like a Makefile ordering problem, the
src/gmock directory needs to be compiled before it is referenced.  I'm not
a Makefile expert, can someone suggest a patch to Makefile.in to get
builds to work cleanly again?

Thanks, Kevan

...
CXX      ceph_osd.o
  CXX      ceph_mds.o
  CXX      test/erasure-code/ceph_erasure_code_non_regression.o
  CXX      test/messenger/simple_server-simple_server.o
  CXX      test/messenger/simple_server-simple_dispatcher.o
  CXX      test/messenger/simple_client-simple_client.o
  CXX      test/messenger/simple_client-simple_dispatcher.o
  CXX      test/messenger/xio_server-xio_server.o
  CXX      test/messenger/xio_server-xio_dispatcher.o
  CXX      test/messenger/xio_client-xio_client.o
  CXX      test/messenger/xio_client-xio_dispatcher.o
  CXX      test/librgw_file_cd-librgw_file_cd.o
make[3]: *** No rule to make target `../src/gmock/lib/libgmock_main.la',
needed by `librgw_file_cd'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/krehm/ceph/ceph-11.0.0/ceph-11.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/krehm/ceph/ceph-11.0.0/ceph-11.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/krehm/ceph/ceph-11.0.0/ceph-11.0.0/src'
make: *** [all-recursive] Error 1


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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux