Description of problem: When installing Gluster to a custom location using --prefix, installation fails because make install tries placing mount.glusterfs in /sbin/ (without the prefix). Making install in crypt Making install in src /bin/sh ../../../../libtool --quiet --mode=install /usr/bin/install -c crypt.la '/home/jc/git_repos/glusterfs/../out/lib/glusterfs/3git/xlator/encryption' libtool: install: warning: relinking `crypt.la' Making install in mount Making install in fuse Making install in src /bin/sh ../../../../libtool --quiet --mode=install /usr/bin/install -c fuse.la '/home/jc/git_repos/glusterfs/../out/lib/glusterfs/3git/xlator/mount' Making install in utils /usr/bin/install -c mount.glusterfs '/sbin' /usr/bin/install: cannot create regular file `/sbin/mount.glusterfs': Permission denied make[5]: *** [install-utilSCRIPTS] Error 1 make[4]: *** [install-am] Error 2 make[3]: *** [install-recursive] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 Version-Release number of selected component (if applicable): Upstream git master as of Sat 15 Feb 2014. How reproducible: Every time unfortunately. Steps to Reproduce: 1. $ mkdir ../out 2. $ ./autogen.sh && ./configure --enable-debug --prefix=$PWD/../out 3. $ make all 4. $ make install Additional info: This happens on CentOS 6.5. Haven't tried on Fedora yet.
REVIEW: http://review.gluster.org/7011 (Update configure.ac dir names to things keep in build root) posted (#1) for review on master by Justin Clift (jclift)
REVIEW: http://review.gluster.org/7011 (Update configure.ac dir names to things keep in build root) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: http://review.gluster.org/7011 (Update configure.ac dir names to things keep in build root) posted (#3) for review on master by Justin Clift (justin)
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
/sbin/mount.glusterfs has to be installed in /sbin for being effective. We also have an option to install it outside for this to succeed: `--with-mountutildir=DIR mount helper utility in DIR [/sbin]`