7 | | Non thread-safe builds have been [/trac/ticket/1764#change_15 reported] |
8 | | to '''not''' work with Trac in a multi-threaded setup. |
| 16 | There's no explicit configuration switch for that. |
| 17 | Just pay attention to the ''Checking pthread.h... yes'' |
| 18 | line during configuration. If it's ''no'', then you'll |
| 19 | have to fix the configuration step yourself |
| 20 | (see that [/trac/ticket/1764#change_15 comment]). |
| 21 | |
| 22 | Non thread-safe builds have been reported to '''not''' |
| 23 | work with Trac in a multi-threaded setup |
| 24 | (see the comment linked above). |
| 25 | |
| 26 | On `x86_64` platforms, the 0.10.x series is needed. |
| 27 | For gcc4, the latest release (0.10.2) should be used. |
| 28 | |
| 29 | === ClearSilver 0.10.2 === |
| 30 | |
| 31 | There's a typo in the configure scripts. |
| 32 | You'll need to apply the following patch first: |
| 33 | {{{ |
| 34 | #!diff |
| 35 | diff -r 1f523c238d93 -r 74f546b8d58b configure |
| 36 | --- a/configure Tue Jan 17 17:36:53 2006 +0100 |
| 37 | +++ b/configure Thu Jan 19 10:47:42 2006 +0100 |
| 38 | @@ -6045,7 +6045,7 @@ |
| 39 | PYTHON=$python_bin |
| 40 | PYTHON_INC="-I$python_inc" |
| 41 | PYTHON_LIB=$python_lib |
| 42 | - if test ! $?PYTHON_SITE; then |
| 43 | + if test ! $PYTHON_SITE; then |
| 44 | PYTHON_SITE=$python_site |
| 45 | fi |
| 46 | BUILD_WRAPPERS="$BUILD_WRAPPERS python" |
| 47 | diff -r 1f523c238d93 -r 74f546b8d58b configure.in |
| 48 | --- a/configure.in Tue Jan 17 17:36:53 2006 +0100 |
| 49 | +++ b/configure.in Thu Jan 19 10:47:42 2006 +0100 |
| 50 | @@ -288,7 +288,7 @@ |
| 51 | PYTHON=$python_bin |
| 52 | PYTHON_INC="-I$python_inc" |
| 53 | PYTHON_LIB=$python_lib |
| 54 | - if test ! $?PYTHON_SITE; then |
| 55 | + if test ! $PYTHON_SITE; then |
| 56 | PYTHON_SITE=$python_site |
| 57 | fi |
| 58 | BUILD_WRAPPERS="$BUILD_WRAPPERS python" |
| 59 | }}} |
| 60 | |
| 61 | Then, you can call `configure`, for example like this: |
| 62 | {{{ |
| 63 | ./configure --prefix=/opt/clearsilver-0.10.2 \ |
| 64 | --with-python=/opt/python-2.4.2/bin/python \ |
| 65 | --disable-ruby --disable-java --disable-perl --disable-apache --disable-csharp |
| 66 | }}} |
| 67 | |
| 68 | At this point, `make && make install` should work. |