comparing with apples' darwin-bundled sqlite src for an older sqlite
version (313 was it?), the addition of,

  -DASSERT_VIA_CALLBACK=1 -DENABLE_LOCKING_CALLBACKS=1

as CFLAGS _seems_ to do the trick.

after applying the patch discussed earlier, then,

        cd /projects/sqlite-3.3.8/configure

        aclocal
        glibtoolize --force --copy
        autoconf -f
        
        unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND
EXTRA_LDFLAGS EXTRA_LIBS LC_ALL LANG LINGUAS
        setenv CFLAGS "-DSQLITE_DEBUG=1 -DSQLITE_MEMDEBUG=1
-DASSERT_VIA_CALLBACK=1 -DENABLE_LOCKING_CALLBACKS=1"
        setenv LDFLAGS "-L/usr/local/lib -lreadline -L/usr/local/ncurses/lib 
-lncurses"
        setenv CPPFLAGS "-no-cpp-precomp -I/usr/local/include/readline
-I/usr/local/ncurses/include"
        setenv LD_TWOLEVEL_NAMESPACE 1
        
        rm -rf sqlite_build
        mkdir sqlite_build
        cd sqlite_build
        
        ../sqlite-3.3.8/configure      \
          --prefix=/usr/local/sqlite   \
          --enable-debug               \
          --enable-tcl                 \
          --enable-shared              \
          --enable-static              \
          --enable-threadsafe=no

my build is OK,

        sqlite3 -version
                3.3.8

and eventual

        make fulltest

passes 100% of tests!

        Thread-specific data deallocated properly
        0 errors out of 316139 tests
        Failures on these tests:

excellent

thanks!

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to