#2196: Trac can't use the thread-safe version of SQLite on Linux
---------------------+------------------------------------------------------
 Reporter:  cboos    |        Owner:  jonas   
     Type:  defect   |       Status:  reopened
 Priority:  normal   |    Milestone:  0.9     
Component:  general  |      Version:  devel   
 Severity:  normal   |   Resolution:          
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Yes, as gk5885 says, sqlite3 built by darwinports is built with --enable-
 threadsafe. Here's the configure input/output to illustrate. Note,
 however, the following two lines in particular:

 {{{
 checking whether to allow connections to be shared across threads... no
 checking whether threads can override each others locks... no
 }}}

 I don't know if those point to an issue or not...

 -jdb

 {{{
 cd
 
"/opt/local/var/db/dports/build/_Users_jberry_darwinports_dports_databases_sqlite3/work/sqlite-3.3.4"
 && CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
 ./configure --prefix=/opt/local --enable-threadsafe --disable-tcl'
 checking build system type... powerpc-apple-darwin8.5.0
 checking host system type... powerpc-apple-darwin8.5.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/gcc-4.0 accepts -g... yes
 checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
 checking for a sed that does not truncate output... /usr/bin/sed
 checking for egrep... grep -E
 checking for ld used by /usr/bin/gcc-4.0... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... no
 checking for /usr/bin/ld option to reload object files... -r
 checking for BSD-compatible nm... /usr/bin/nm -p
 checking whether ln -s works... yes
 checking how to recognise dependent libraries... pass_all
 checking how to run the C preprocessor... /usr/bin/cpp-4.0
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking dlfcn.h usability... yes
 checking dlfcn.h presence... yes
 checking for dlfcn.h... yes
 checking whether we are using the GNU C++ compiler... yes
 checking whether /usr/bin/g++-4.0 accepts -g... yes
 checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E
 checking for g77... no
 checking for f77... no
 checking for xlf... no
 checking for frt... no
 checking for pgf77... no
 checking for fort77... no
 checking for fl32... no
 checking for af77... no
 checking for f90... no
 checking for xlf90... no
 checking for pgf90... no
 checking for epcf90... no
 checking for f95... no
 checking for fort... no
 checking for xlf95... no
 checking for ifc... no
 checking for efc... no
 checking for pgf95... no
 checking for lf95... no
 checking for gfortran... no
 checking whether we are using the GNU Fortran 77 compiler... no
 checking whether  accepts -g... no
 checking the maximum length of command line arguments... 65536
 checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0
 object... ok
 checking for objdir... .libs
 checking for ar... ar
 checking for ranlib... ranlib
 checking for strip... strip
 checking if /usr/bin/gcc-4.0 static flag  works... yes
 checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
 checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common
 checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes
 checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
 checking whether the /usr/bin/gcc-4.0 linker (/usr/bin/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... darwin8.5.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 configure: creating libtool
 appending configuration tag "CXX" to libtool
 checking for ld used by /usr/bin/g++-4.0... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... no
 checking whether the /usr/bin/g++-4.0 linker (/usr/bin/ld) supports shared
 libraries... yes
 checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
 checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
 checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
 checking whether the /usr/bin/g++-4.0 linker (/usr/bin/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... darwin8.5.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 appending configuration tag "F77" to libtool
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for gawk... no
 checking for mawk... no
 checking for nawk... no
 checking for awk... awk
 Version set to 3.3
 Release set to 3.3.4
 Version number set to 3003004
 checking for gcc... (cached) /usr/bin/gcc-4.0
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes
 checking for /usr/bin/gcc-4.0 option to accept ANSI C... (cached) none
 needed
 checking switches for the host compiler... -g -O2
 checking target compiler... /usr/bin/gcc-4.0
 checking switches on the target compiler... -g -O2
 checking target linker... /usr/bin/gcc-4.0
 checking switches on the target compiler... checking for ranlib...
 (cached) ranlib
 -g -O2
 checking if host and target compilers are the same... yes
 checking whether to support threadsafe operation... yes
 checking for pthread_create in -lpthread... yes
 checking whether to allow connections to be shared across threads... no
 checking whether threads can override each others locks... no
 checking whether to support shared library linked as release mode or
 not... no
 checking whether to use an in-ram database for temporary tables... no
 checking if executables have the .exe suffix... unknown
 checking for library containing tgetent... -lncurses
 checking for readline in -lreadline... yes
 checking for library containing fdatasync... no
 checking readline header files... not specified: still searching...
 checking readline.h usability... no
 checking readline.h presence... no
 checking for readline.h... no
 checking for /usr/include/readline.h... no
 checking for /usr/include/readline/readline.h... yes
 checking for usleep... yes
 checking for fdatasync... no
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating sqlite3.pc

 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2196>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to