[Gluster-devel] Sqlite3 dependency for Data Tiering

Jeff Darcy jdarcy at redhat.com
Wed Feb 18 22:18:23 UTC 2015

> Then there will be two things
> 1) Update the this page
> http://www.gluster.org/community/documentation/index.php/CompilingRPMS#Common_Steps
> i.e add yum install sqlite3-devel

The *real* canonical way to list dependencies is with BuildRequires lines in
glusterfs.spec.in (in your source tree).  IMO the instructions should refer
people there.  Also, yum-builddep will pull in all of the required packages
based on an SRPM, but then there's a bit of a chicken-and-egg problem: how
do you build an SRPM from source if you don't already have those packages?
I guess it's meant for rebuilding or minor changes, not for true building
from scratch.

> 2) Modify configure.ac to check if the sqlite3-devel packages are installed
> before make.
> Is there something I am missing?

Other than making sure glusterfs.spec.in is updated along with configure.ac,
I can't think of anything.

More information about the Gluster-devel mailing list