Friday, January 21, 2005, 1:33:35 PM, DRH wrote:
Version 3.1.0 (alpha) of SQLite is now available on the website.
Compiling with MinGW MSYS on WinXP...
1. I had to modify my lib/tclConfig.sh to have TCL_LIB_SPEC='-L/mingw/lib -ltcl84' instead of TCL_LIB_SPEC='' or else testfixture wouldn't build. Dunno why my tclConfig.sh was broken.
2. autovacuum-ioerr2.4.0 and onward fail...
autovacuum-ioerr2.4.0... Error: error copying "test.db" to "backup.db": no such file or directory autovacuum-ioerr2-4.1.1... Error: error copying "backup.db" to "test.db": no such file or directory autovacuum-ioerr2-4.1.2... Ok autovacuum-ioerr2-4.1.3... Ok c:\dev\sqlite3\bld\testfixture.exe: invalid command name "db" while executing "db close" (file "../sqlite/test/autovacuum_ioerr2.test" line 189) invoked from within "source $testfile" ("foreach" body line 4) invoked from within "foreach testfile [lsort -dictionary [glob $testdir/*.test]] { set tail [file tail $testfile] if {[lsearch -exact $EXCLUDE $tail]>=0} continue so..." (file "../sqlite/test/quick.test" line 44) make: *** [test] Error 1
e
Doug,
I ran into the same problem with testfixture using MinGW. I fixed it by modifying the sqlite Makefile, but your change should be more permanent.
The errors in autovacuum-ioerr2 (and similat errors in the ioerr2 and pager test files) are due to a broken 'file copy' command in the 8.4.1 tcl package distributed with MinGW. Dan Kennedy pointed this out and suggested ActiveTcl as a suitable replacement. I installed ActiveTcl 8.4.9 and got a similar error when building testfixture.exe, except now it was including a couple of extra dlls on the link line. I again modified the sqlite Makefile to remove these dlls from the LIBTCL line. Everything builds, and all the tests run (with the exception of bind-4.1 due to a trivial formatting issue).
HTH
Dennis Cote