This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug releng/21190] New: stap fails to build on rhel6 because of


https://sourceware.org/bugzilla/show_bug.cgi?id=21190

            Bug ID: 21190
           Summary: stap fails to build on rhel6 because of
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: releng
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
                CC: dsmith at redhat dot com
  Target Milestone: ---

Systemtap fails to build with --enable-sqlite on rhel-6, where sqlite-3.6 is
available.  This breaks `make rpm`, thusly:

=======
checking for sqlite3... no
configure: error: in `/home/mcermak/rpmbuild/BUILD/systemtap-3.2':
configure: error: --enable-sqlite was given, but test for sqlite failed
See `config.log' for more details
error: Bad exit status from /var/tmp/rpm-tmp.0CeUad (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.0CeUad (%build)
make: *** [rpm] Error 1
 6.9 Server x86_64 $ rpm -q sqlite
sqlite-3.6.20-1.el6_7.2.x86_64
 6.9 Server x86_64 $
=======

Following update (+ autoreconf) works the problem around:

=======
diff --git a/configure.ac b/configure.ac
index f60e63d..82b0d23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -248,7 +248,7 @@ AC_ARG_ENABLE([sqlite],
   [enable_sqlite=check])               dnl ACTION-IF-NOT-GIVEN
 sqlite3_LIBS=
 AS_IF([test "x$enable_sqlite" != xno],
-  [PKG_CHECK_MODULES([sqlite3], [sqlite3 > 3.7],
+  [PKG_CHECK_MODULES([sqlite3], [sqlite3 > 3.6],
     [AC_DEFINE([HAVE_LIBSQLITE3], [1], [Define to 1 if you have the 'sqlite3'
library (-lsqlite3).])],
     [if test "x$enable_sqlite" != xcheck; then
       AC_MSG_FAILURE([--enable-sqlite was given, but test for sqlite failed])
=======

Is there some reason for preferring sqlite-3.7 over sqlite-3.6?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]