Description of problem: Sqlite is a dependency even when disable-tiering is used during configure Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Clone the recent sources of GlusterFS 2../configure --disable-tiering 3. make fails with errors Actual results: Making install in src CC changetimerecorder.lo In file included from ../../../../libglusterfs/src/gfdb/gfdb_data_store.h:27, from ctr-helper.h:30, from changetimerecorder.c:13: ../../../../libglusterfs/src/gfdb/gfdb_sqlite3.h:20:21: error: sqlite3.h: No such file or directory In file included from ../../../../libglusterfs/src/gfdb/gfdb_data_store.h:27, from ctr-helper.h:30, from changetimerecorder.c:13: ../../../../libglusterfs/src/gfdb/gfdb_sqlite3.h:125: error: expected specifier-qualifier-list before ‘sqlite3’ Expected results: If tiering is disabled, CTR shouldn't be compiled? Please correct me if I am wrong Additional info:
I've seen the same behaviour. I had explicitly install sqlite-devel package to proceed with the compilation even if --disable-tiering option is passed in configure.
http://review.gluster.org/9957 has been posted and should fix this. *** This bug has been marked as a duplicate of bug 1194753 ***
Re-opening this bug as I still this issue but in different path though - $./configure --disable-tiering $make .......... .............. Making all in src CC dht-layout.lo CC dht-helper.lo CC dht-linkfile.lo CC dht-rebalance.lo In file included from ../../../../libglusterfs/src/gfdb/gfdb_data_store.h:27, from tier.h:37, from dht-rebalance.c:22: ../../../../libglusterfs/src/gfdb/gfdb_sqlite3.h:20:21: error: sqlite3.h: No such file or directory In file included from ../../../../libglusterfs/src/gfdb/gfdb_data_store.h:27, from tier.h:37, from dht-rebalance.c:22: ../../../../libglusterfs/src/gfdb/gfdb_sqlite3.h:125: error: expected specifier-qualifier-list before ‘sqlite3’ make[5]: *** [dht-rebalance.lo] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 [root@kvm5 glusterfs_lease]#
Patch up for review : http://review.gluster.org/#/c/9973/2 Related bug : bug 1204604
*** This bug has been marked as a duplicate of bug 1204604 ***