yum -y install libtool
yum -y install aclocal autoconf autoheader automake
yum -y install flex
yum -y install bison
yum -y install libacl-devel
yum -y install libcurl-devel libcurl
yum install epel-release -y
yum -y install git userspace-rcu userspace-rcu-devel
yum -y install autoconf automake bison cmockery2-devel dos2unix flex fuse-devel glib2-devel libacl-devel libaio-devel libattr-devel libcurl-devel libibverbs-devel librdmacm-devel libtirpc-devel libtool libxml2-devel lvm2-devel make openssl-devel pkgconfig pyliblzma python-devel python-eventlet python-netifaces python-paste-deploy python-simplejson python-sphinx python-webob pyxattr readline-devel rpm-build sqlite-devel systemtap-sdt-devel tar userspace-rcu-devel
cd glusterfs-*
./autogen.sh
./configure --enable-debug
#./configure --enable-debug --without-libtirpc --disable-tiering --disable-xml-output --disable-georeplication
make
rm -rf patch
mkdir patch
mv ./libglusterfs/src/.libs/libglusterfs.so* ./xlators/mgmt/glusterd/src/.libs/glusterd.so ./patch/
tar czvf patch.gluster.gz ./patch/
http://www.manongjc.com/detail/8-bnebovioqqezgjk.html
https://blog.csdn.net/xh199110/article/details/48626085
网友评论