有沒有人在CentOS 5上編譯過Ceph
?在CentOS 5上編譯Ceph:使用`doc_DATA'但'docdir'未定義?
[[email protected] ceph-0.56.4]# make
...
checking boost/spirit.hpp usability...
src/Makefile.am:1115: `doc_DATA' is used but `docdir' is undefined
make: *** [Makefile.in] Error 1
make: *** Waiting for unfinished jobs....
yes
線1115在src/Makefile.am
:
# work around old versions of automake that don't define $docdir
# NOTE: this won't work on suse, where docdir is /usr/share/doc/packages/$package.
docdir ?= ${datadir}/doc/ceph
doc_DATA = $(srcdir)/sample.ceph.conf sample.fetch_config
我試圖給docdir
更改爲絕對路徑:
docdir = /usr/share/doc/ceph
,但它並不能幫助。
# rpm -qa | grep automake
automake16-1.6.3-8.el5.1
automake15-1.5-16.el5.2
automake-1.9.6-2.3.el5
automake17-1.7.9-7.el5.2
automake14-1.4p6-13.el5.1
讓我吃驚的是在ceph.spec
,我看到:
%{configure} CPPFLAGS="$java_inc" \
--prefix=/usr \
--sbindir=/sbin \
--localstatedir=/var \
--sysconfdir=/etc \
--docdir=%{_docdir}/ceph \
--without-hadoop \
--with-nss \
--without-cryptopp \
--with-rest-bench \
--with-debug \
--enable-cephfs-java \
$MY_CONF_OPT \
%{?_with_ocf} \
%{?with_tcmalloc:--with-tcmalloc} %{!?with_tcmalloc:--without-tcmalloc} \
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
但通過./configure --help
搜索時沒有--docdir
配置選項。
我知道CentOS 5相當古老,但在這種情況下是否有任何解決方法?
UPDATE週四4月4日23時05分53秒ICT 2013
Ceph 0.46被成功編譯,但現在我得到:
# ceph-fuse --no-fuse-big-writes -m 192.168.2.15:6789 /mnt/ceph/
ceph-fuse[7528]: starting ceph client
ceph-fuse[7528]: starting fuse
fuse: unknown option `atomic_o_trunc'
2013-04-04 13:51:21.128506 2b82d6e9e8f0 -1 fuse_lowlevel_new failed
ceph-fuse[7528]: fuse finished with error 33
ceph-fuse[7526]: mount failed: (33) Numerical argument out of domain
http://tracker.ceph.com/issues/4286