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

Kaushal M kshlmster at gmail.com
Thu May 12 10:30:38 UTC 2016


On Tue, May 10, 2016 at 7:06 AM, Liu, Li (Nokia - CN/Hangzhou)
<li.liu at nokia.com> wrote:
> Hi
>
> I follow this guideline to build gluster in 3.7.11
> http://gluster.readthedocs.io/en/latest/Developer-guide/Building-GlusterFS/
>
> ./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?

`make install` is generally run as root. If you're not doing any
special builds, running `make install` as root should fix this error
for you.

But there is known issue which causes failures when attempting to run
make install with a custom prefix and as a non-root user.
glupy the component that failed for you, ignores the configured prefix
and tries to install in /usr/lib which requires root permission.
I don't have the bug-id for this issue at hand (if it's been filed)
but it should be fixed soon enough.

>
> 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