[Bugs] [Bug 1279164] New: Gluster should support out of tree builds
bugzilla at redhat.com
bugzilla at redhat.com
Sun Nov 8 10:14:04 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1279164
Bug ID: 1279164
Summary: Gluster should support out of tree builds
Product: GlusterFS
Version: mainline
Component: build
Assignee: bugs at gluster.org
Reporter: rtalur at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
Autotools support out-of-tree builds. All the artifacts of the build are
created in the directory where configure was invoked. This allows one to have
parallel builds going on for different archs or on different hosts sharing the
same code from NFS mount etc.
Currently, make install fails for such a use case.
How reproducible:
Always
Steps to Reproduce:
1. Create a build dir at the same level as the source.
example: /root/build and /root/glusterfs.git
2. cd /root/glusterfs.git
3. ./autogen.sh
4. cd ../build
5. ../glusterfs.git/configure
6. make install
Actual results:
make install fails with the following error
"../../../../glusterfs.git/rpc/xdr/src/glusterfs3-xdr.c:34:52: fatal error:
../../../../rpc/xdr/src/glusterfs3-xdr.h: No such file or directory
Expected results:
Build should succeed and install glusterfs
Hints:
It works if the build dir is inside glusterfs.git.
Understand out of tree builds and VPATH w.r.t autotools.
Here is a link I found https://msteveb.github.io/autosetup/user/outoftree/
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list