FS#10968 - Firefox 3 miss sqlite fts3 module: causes errors on some extensions
Attached to Project:
Arch Linux
Opened by Fabio Varesano (fax8) - Monday, 21 July 2008, 02:51 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 December 2008, 11:34 GMT
Opened by Fabio Varesano (fax8) - Monday, 21 July 2008, 02:51 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 December 2008, 11:34 GMT
|
Details
Description:
Seems that Firefox firefox 3.0.1-1 is missing the sqlite fts3 module. More informations at http://brief.mozdev.org/drupal/node/233 and http://brief.mozdev.org/drupal/node/207 Seems that other distributions are having this issue too. Default FF package shipped by Mozilla have the sqlite fts3 module enabled so Archilinux should have it enabled too. Additional info: * package version(s) firefox 3.0.1-1 * config and/or log files etc. Steps to reproduce: Install the Brief 1.2 extension then check firefox Error Console. it will displays: Brief: SQL statement: CREATE VIRTUAL TABLE entries_text USING fts3 (title TEXT, content TEXT, authors TEXT, tags TEXT ) Error: [Exception... "'Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageConnection.executeSimpleSQL] Stack: undefined Database error: no such module: fts3' when calling method: [nsIObserver::observe]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no] |
This task depends upon
--- PKGBUILD.old 2008-12-23 18:27:05.000000000 +0100
+++ PKGBUILD 2008-12-23 18:17:27.000000000 +0100
@@ -21,7 +21,7 @@
build() {
cd ${srcdir}/sqlite-${pkgver}
- ./configure --prefix=/usr --enable-threadsafe --disable-static || return 1
+ CFLAGS="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1" ./configure --prefix=/usr --enable-threadsafe --disable-static || return 1
make || return 1
make DESTDIR=${pkgdir} install
install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1
Regards,
I used the same options Jan Hradek used but I put them as options to the configure script.
Now brief works correctly using the linked sqlite3.
I can't guarantee that this change does not break other packages .. I doubt tough.