[MacPorts] #16929: tcl-sqlite3 3.6.4_0 Build failure
#16929: tcl-sqlite3 3.6.4_0 Build failure ---------------------------------+------------------------------------------ Reporter: jarimatti@iki.fi | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: tcl-sqlite3 sqlite3 | Port: ---------------------------------+------------------------------------------ The build stops with error {{{ ./src/tclsqlite.c: In function 'DbObjCmd': ./src/tclsqlite.c:1766: error: 'SQLITE_STMTSTATUS_FULLSCAN_STEP' undeclared (first use in this function) ./src/tclsqlite.c:1766: error: (Each undeclared identifier is reported only once ./src/tclsqlite.c:1766: error: for each function it appears in.) ./src/tclsqlite.c:1768: error: 'SQLITE_STMTSTATUS_SORT' undeclared (first use in this function) gnumake: *** [tclsqlite.lo] Error 1 }}} The missing definitions are in sqlite.h.in and including it in the source file makes it build. -- Ticket URL: <http://trac.macports.org/ticket/16929> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16929: tcl-sqlite3 3.6.4_0 Build failure -------------------------------+-------------------------------------------- Reporter: jarimatti@iki.fi | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: tcl-sqlite3 sqlite3 Port: | -------------------------------+-------------------------------------------- Comment(by jarimatti@iki.fi): Replying to [ticket:16929 jarimatti@…]:
The missing definitions are in sqlite.h.in and including it in the source file makes it build.
But it still doesn't work. Trying to use it from Tcl fails with the message: {{{ Error in startup script: dlopen(/opt/local/lib/tcl8.5/sqlite3/libtclsqlite3.dylib, 6): Symbol not found: _sqlite3_stmt_status Referenced from: /opt/local/lib/tcl8.5/sqlite3/libtclsqlite3.dylib Expected in: /opt/local/lib/libsqlite3.0.dylib while executing "load /opt/local/lib/tcl8.5/sqlite3/libtclsqlite3.dylib sqlite3" ("package ifneeded sqlite3 3.6.4.4" script) invoked from within "package require sqlite3" (file "./simplenews.tcl" line 8) }}} Using Mac OS version 10.4.11. -- Ticket URL: <http://trac.macports.org/ticket/16929#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16929: tcl-sqlite3 3.6.4_0 Build failure -------------------------------+-------------------------------------------- Reporter: jarimatti@iki.fi | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sqlite3 Port: tcl-sqlite3 | -------------------------------+-------------------------------------------- Changes (by macsforever2000@macports.org): * keywords: tcl-sqlite3 sqlite3 => sqlite3 * owner: macports-tickets@lists.macosforge.org => mww@macports.org * port: => tcl-sqlite3 Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16929#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16929: tcl-sqlite3 3.6.4_0 Build failure -------------------------------+-------------------------------------------- Reporter: jarimatti@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: tiger Port: tcl-sqlite3 | -------------------------------+-------------------------------------------- Changes (by jmr@…): * keywords: sqlite3 => tiger * status: new => closed * resolution: => fixed Comment: Current version seems to work. -- Ticket URL: <https://trac.macports.org/ticket/16929#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts