Bug 1204008 - Sqlite3 library required even after disable-tiering is given during configure
Summary: Sqlite3 library required even after disable-tiering is given during configure
Keywords:
Status: CLOSED DUPLICATE of bug 1204604
Alias: None
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Joseph Elwin Fernandes
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-20 07:10 UTC by Meghana
Modified: 2016-06-20 00:01 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-25 08:13:57 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Meghana 2015-03-20 07:10:22 UTC
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:

Comment 1 Atin Mukherjee 2015-03-20 07:25:00 UTC
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.

Comment 2 Niels de Vos 2015-03-20 15:47:32 UTC
http://review.gluster.org/9957 has been posted and should fix this.

*** This bug has been marked as a duplicate of bug 1194753 ***

Comment 3 Soumya Koduri 2015-03-25 06:41:07 UTC
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]#

Comment 4 Joseph Elwin Fernandes 2015-03-25 06:48:16 UTC
Patch up for review : 
http://review.gluster.org/#/c/9973/2

Related bug : bug 1204604

Comment 5 Niels de Vos 2015-03-25 08:13:57 UTC

*** This bug has been marked as a duplicate of bug 1204604 ***


Note You need to log in before you can comment on or make changes to this bug.