I don't like installing the bits under /usr/local so I configure and compile them to install in the same place as a Fedora rpm would.
Here is my compile command
./autogen.sh
CFLAGS="-g -O0 -Werror -Wall -Wno-error=cpp -Wno-error=maybe-uninitialized"
./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/usr/lib64 \
--enable-debug
make install
On Fri, Jan 22, 2016 at 7:43 PM, Raghavendra Talur <rtalur@xxxxxxxxxx> wrote:
HI All,I am sure there are many tricks hidden under sleeves of many Gluster developers.I realized this when speaking to new developers. It would be good have a searchable thread of such tricks.Just reply back on this thread with the tricks that you have and I promise I will collate them and add them to developer guide.Looking forward to be amazed!Thanks,Raghavendra Talur
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel