[Gluster-devel] 回复: Some problems while installing gluster REST api

Sun Hao sunhao at open-fs.com
Thu Mar 23 11:59:51 UTC 2017


Gentlemen,Sorry I missed some points.I installed glusterfs 3.10.0 on my virtual machines,and screen printed the problem like this:

[root at node1 restapi]# ./configure --with-systemddir=/usr/lib/systemd/system/ \
>     --with-glusterd-workdir=/var/lib/glusterd \
>     --with-gluster-libexecdir=/usr/libexec/glusterfs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for /etc/debian_version... no
checking for /etc/redhat-release... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating extras/Makefile
config.status: creating src/conf.py
config.status: creating src/gunicorn_config.py
config.status: creating extras/glusterrestd.service
config.status: creating extras/glusterrestd-FreeBSD
config.status: creating extras/glusterrestd-RedHat
[root at node1 restapi]# make
Making all in src
make[1]: Entering directory `/root/restapi/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/restapi/src'
Making all in extras
make[1]: Entering directory `/root/restapi/extras'
cd .. && /bin/sh ./config.status extras/glusterrestd.service
config.status: creating extras/glusterrestd.service
make[1]: Leaving directory `/root/restapi/extras'
make[1]: Entering directory `/root/restapi'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/restapi'

[root at node1 restapi]# make install
Making install in src
make[1]: Entering directory `/root/restapi/src'
make[2]: Entering directory `/root/restapi/src'
make  install-exec-hook
make[3]: Entering directory `/root/restapi/src'
/usr/bin/mkdir -p /usr/local/sbin
rm -f /usr/local/sbin/gluster-restapi
ln -s /usr/local/libexec/glusterfs/peer_restapi.py \
        /usr/local/sbin/gluster-restapi
make[3]: Leaving directory `/root/restapi/src'
cd .. && /bin/sh ./config.status src/conf.py
config.status: creating src/conf.py
make[2]: *** No rule to make target `glusterrest.py', needed by `install-restapiPYTHON'.  Stop.
make[2]: Leaving directory `/root/restapi/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/root/restapi/src'
make: *** [install-recursive] Error 1

Thank you for your help.

Respectfully yours,sunhao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170323/1447390b/attachment.html>


More information about the Gluster-devel mailing list