pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: exim 4.70 on NetBSD 5.0.1 failure

J.R. wrote:

        -lpthread.0 => /usr/lib/
        -lsqlite3.0 => /usr/local/pkg/lib/

just compiled exim without sqlite, and it is not compiled with pthreads.
In some way sqlite is the reason. But I can not abandon this option!
Is there any flag I can set in my mk.conf? Anything like:


It's not Exim's fault (well, kinda - I am still convinced that using old deprecated API is a bad idea).

Anyway, it would rather be: DONT_COMPILE_SQLITE3_WITH_PTHREAD. Something like that:

Index: Makefile
RCS file: /cvsroot/pkgsrc/databases/sqlite3/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile    13 Nov 2009 18:28:42 -0000      1.21
+++ Makefile    19 Nov 2009 00:09:29 -0000
@@ -8,6 +8,7 @@
 CONFIGURE_ARGS+=       --disable-tcl
 CONFIGURE_ENV+=                ac_cv_prog_TCLSH_CMD=""
 CONFIGURE_ARGS+=       --enable-load-extension
+CONFIGURE_ARGS+=       --enable-threadsafe=no
 CONFIGURE_ARGS+=       --with-readline-inc=

 # Uses dlopen and friends but doesn't use -ldl on Linux.

=> patch not tested, so if it "breaks" sqlite3 dependencies, you have been warned.

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index