[Gluster-devel] one question in make install in 3.7.11

Anoop C S anoopcs at redhat.com
Mon Jun 6 08:38:18 UTC 2016


On Tue, 2016-05-10 at 01:36 +0000, Liu, Li (Nokia - CN/Hangzhou) wrote:
> Hi
> 
> I follow this guideline to build gluster in 3.7.11
> http://gluster.readthedocs.io/en/latest/Developer-guide/Building-Glus
> terFS/
> 
> ./configure --enable-debug   --- works
> make                    -- works
> make install              -- some errors
> 
> 
> 
> GlusterFS configure summary
> ===========================
> FUSE client          : yes
> Infiniband verbs     : yes
> epoll IO multiplex   : yes
> argp-standalone      : no
> fusermount           : yes
> readline             : yes
> georeplication       : yes
> Linux-AIO            : yes
> Enable Debug         : yes
> Block Device xlator  : yes
> glupy                : yes
> Use syslog           : yes
> XML output           : yes
> QEMU Block formats   : yes
> Encryption xlator    : yes
> Unit Tests           : no
> POSIX ACLs           : yes
> Data Classification  : yes
> firewalld-config     : no
> 
> 
> 
> Making install in glupy
> Making install in src
> Making install in glupy
>  /usr/bin/mkdir -p '/usr/lib/python2.7/site-packages/gluster/glupy'
>  /usr/bin/install -c -m 644 __init__.py '/usr/lib/python2.7/site-
> packages/gluster/glupy'
> ../../../../../py-compile: Missing argument to --destdir.
> make[6]: *** [install-pyglupyPYTHON] Error 1
> make[5]: *** [install-am] Error 2
> make[4]: *** [install-recursive] Error 1
> make[3]: *** [install-recursive] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
> 
> do you know where is my faults?
> 

Assuming that you are compiling from the release tar ball downloaded
from download.gluster.org, this error happens due to the difference in
automake versions used to prepare the tar ball and the one used during
make install. There are two ways to get around this issue:

[1] If the automake version version installed on your machine is >=
1.11.2, then remove the file named 'py-compile' from root of the
release tar ball source and start again from running ./autogen.sh and
continue.

[2] If your automake version is < 1.11.2, then run make install as
follows
# make install DESTDIR=/

If you are facing this error from source which is a git clone, then
probably you may need to either upgrade automake to some version >=
1.11.2 and follow the 1st workaround or run make install by explicitly
setting DESTDIR to / as mentioned in the 2nd workaround above.

--Anoop C S.

> Or you can tell me where I can rise one question
> 
> Thank you very much!
> 
> Liuli
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel


More information about the Gluster-devel mailing list