| 1 | This page describes how to install trac 0.10.2 on a standard OS X system. Everything is installed in a dedicated directory (namely '/trac') |
| 2 | |
| 3 | ------------------------------------- |
| 4 | |
| 5 | == python 2.4.4 == |
| 6 | |
| 7 | {{{ |
| 8 | ./configure --prefix=/trac --with-threads --disable-framework --disable-toolbox-glue --disable-ipv6 && make -j 4 && make install |
| 9 | }}} |
| 10 | |
| 11 | ------------------------------------- |
| 12 | |
| 13 | == Apache 2.2.3 == |
| 14 | |
| 15 | {{{ |
| 16 | make clean && ./configure --prefix=/trac --enable-so --enable-dav --enable-ssl --enable-rewrite --enable-cgi --with-included-apr --with-mpm=worker && make -j 4 && make install |
| 17 | }}} |
| 18 | |
| 19 | ------------------------------------- |
| 20 | == Swig 1.3.30 == |
| 21 | |
| 22 | {{{ |
| 23 | ./configure --prefix=/trac --with-python=/trac/bin/python --without-ocaml --without-php4 --without-guile --without-java --without-java --without-perl5 --without-tcl --without-x --without-ruby --without-mzscheme --without-pike --without-gcj --without-chicken --without-csharp --without-lua --without-allegrocl --without-clisp && make -j 4 && make install |
| 24 | }}} |
| 25 | |
| 26 | ------------------------------------- |
| 27 | == Neon 0.25.5 == |
| 28 | |
| 29 | ''This version is required, otherwise subversion won't recognize it.'' |
| 30 | |
| 31 | {{{ |
| 32 | ./configure --prefix=/trac --disable-nls --disable-debug --with-ssl=openssl && make -j 4 && make install |
| 33 | }}} |
| 34 | |
| 35 | ------------------------------------- |
| 36 | |
| 37 | == Subversion 1.4.2 == |
| 38 | |
| 39 | {{{ |
| 40 | ./configure --prefix=/trac --with-apxs=/trac/bin/apxs --with-apr=/trac/bin/apr-1-config --with-apr-util=/trac/bin/apu-1-config --without-berkeley-db --enable-swig-bindings=python --with-ssl --with-swig=/trac/bin/swig && make -j 4 && make install && make -j 4 swig-py && make install-swig-py |
| 41 | }}} |
| 42 | |
| 43 | Add |
| 44 | {{{ |
| 45 | /trac/lib/svn-python |
| 46 | }}} |
| 47 | In |
| 48 | {{{ |
| 49 | /trac/lib/python2.4/site-packages/svn.pth |
| 50 | }}} |
| 51 | |
| 52 | ----------------------------- |
| 53 | |
| 54 | == Mod_Python 3.2.10 == |
| 55 | |
| 56 | {{{ |
| 57 | ./configure --with-apxs=/trac/bin/apxs --with-python=/trac/bin/python --with-max-locks=64 && make -j 4 && make install |
| 58 | }}} |
| 59 | ----------------------------- |
| 60 | |
| 61 | == ez_setup.py == |
| 62 | |
| 63 | {{{ |
| 64 | curl -O http://peak.telecommunity.com/dist/ez_setup.py && python ez_setup.py |
| 65 | }}} |
| 66 | |
| 67 | ----------------------------- |
| 68 | |
| 69 | == SQLite 3.3.8 == |
| 70 | |
| 71 | {{{ |
| 72 | ./configure --prefix=/trac --enable-threadsafe --disable-tcl && make -j 4 && make install |
| 73 | }}} |
| 74 | |
| 75 | ----------------------------- |
| 76 | |
| 77 | == Pysqlite 2.3.2 == |
| 78 | |
| 79 | {{{ |
| 80 | python setup.py install |
| 81 | }}} |
| 82 | |
| 83 | ------------------------------ |
| 84 | |
| 85 | == Clearsilver 0.9.14 == |
| 86 | |
| 87 | {{{ |
| 88 | ./configure --prefix=/trac --with-python=/trac/bin/python --disable-java --disable-csharp --disable-ruby --disable-perl --disable-apache && make -j 4 |
| 89 | }}} |
| 90 | |
| 91 | Now, remplace the first line of 'scripts/document.py' with |
| 92 | {{{ |
| 93 | #!/trac/bin/python |
| 94 | }}} |
| 95 | |
| 96 | Then (it produces an error): |
| 97 | {{{ |
| 98 | make install |
| 99 | }}} |
| 100 | |
| 101 | Finally, go into python and then: |
| 102 | {{{ |
| 103 | python setup.py install |
| 104 | }}} |
| 105 | |
| 106 | ------------------------------ |
| 107 | |
| 108 | == docutils == |
| 109 | |
| 110 | {{{ |
| 111 | python setup.py install |
| 112 | }}} |
| 113 | |
| 114 | ------------------------------ |
| 115 | |
| 116 | == trac 0.10.2 == |
| 117 | |
| 118 | {{{ |
| 119 | python setup.py install |
| 120 | }}} |