[Gluster-devel] Building rpms for master
Anders Blomdell
anders.blomdell at control.lth.se
Tue Jul 8 10:51:31 UTC 2014
It seems like http://www.gluster.org/community/documentation/index.php/CompilingRPMS
is missing one crucial step:
$ ./autogen.sh
$ ./configure --enable-fusermount
$ make dist
...
$ cd extras/LinuxRPM
$ make glusterrpms
should be:
$ rm -f ./autom4te.cache/* # make sure to use current
# './build-aux/pkg-version --release'
$ ./autogen.sh
$ ./configure --enable-fusermount
$ make dist
...
$ cd extras/LinuxRPM
$ make glusterrpms
Otherwise the rpm's wont pick the correct releaseversion, i.e. ./autogen.sh
will pickup the result of './build-aux/pkg-version --release' from the cache
instead of figure out where HEAD is currently located.
Even nicer would be if '(cd extras/LinuxRPM ; make glusterrpms)' did the
right thing.
/Anders
--
Anders Blomdell Email: anders.blomdell at control.lth.se
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
More information about the Gluster-devel
mailing list