Re: one question in make install in 3.7.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 10, 2016 at 7:06 AM, Liu, Li (Nokia - CN/Hangzhou)
<li.liu@xxxxxxxxx> 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@xxxxxxxxxxx
> http://www.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux