Edgewall Software

Changes between Version 10 and Version 11 of TracOnOsxNoFink


Ignore:
Timestamp:
Jun 19, 2005, 9:53:24 AM (19 years ago)
Author:
bjdyck@…
Comment:

Added note to clear up confusion regarding which version of PySQLite to use with SQLite 3

Legend:

Unmodified
Added
Removed
Modified
  • TracOnOsxNoFink

    v10 v11  
    126126 * Follow their respectives installation instructions.
    127127 * '''NOTE (sqlite)''': The sqlite OS X install instructions that I found said to configure with the '--disable-shared' option, claiming that OS X's libtool is busted and thus generates bad dynamic/shared libraries.  However, disabling shared libraries generated an error during the make install step, because one of the install scripts looks for a shared library (identified by extension .dylib) regardless of the configure options.  So, in good UNIX fashion, I ignored the instructions and tried it with the shared libraries.  I did a 'make test' and all the regression tests passed, so it seems that the problem with libtool has been fixed and '--disable-shared' is no longer necessary.
    128  * '''NOTE (pysqlite)''': The build step ('python setup.py build') failed with a "No such file or directory" error on "/opt/local/lib".  I opened up setup.py and found that for OS X (and only OS X), it sets the lib path to /opt/local/lib.  On my system, this was wrong, so I changed it to /usr/local/lib.
     128 * '''NOTE (pysqlite)''': The build step ('python setup.py build') failed with a "No such file or directory" error on "/opt/local/lib".  I opened up setup.py and found that for OS X (and only OS X), it sets the lib path to /opt/local/lib.  On my system, this was wrong, so I changed it to /usr/local/lib.
     129 * '''NOTE (pysqlite)''': Just to clear up any confusion regarding API versions - and this probably only applies if you're going to use SQLite 3, either installed by hand or as shipped with OS X 10.4 - PySQLite v2.0x will not work with Trac (as of 0.9-pre). Instead, get the latest stable 1.1.x (1.1.6 as of this writing) version.
    129130 
    130131=== clearsilver ===
     
    162163=== svn repository ===
    163164
    164 Specifying {{{fs-type}}} is actually not necessary, as we have built without bdb, thus making {{{fsfs}}} the default backend file system.
    165 
    166 {{{
    167 svnadmin create --fs-type=fsfs /var/svn/test
    168 }}}
    169 
    170 To make sure the repository is ok, play with it a little:
    171 {{{
    172 cd /tmp
    173 mkdir proj
    174 cd proj
    175 mkdir trunk branches tags
    176 cd ..
    177 svn import proj file:///var/svn/test -m "Import First"
    178 rm -r proj
    179 svn co file:///var/svn/test proj
    180 cd proj
    181 svn update
    182 }}}
    183 
    184 === trac environment ===
    185 
    186 {{{
    187 trac-admin /var/trac/test initenv
    188 }}}
    189 
    190 You may need to manage access rights on the trac env directory tree. This may be done by first creating a unix group dedicated to this trac project, e.g. {{{trac}}}, and assigning the various users to this group. The apache {{{web}}} user should be one of these. If you need a nice description of how to do this, look at the [http://developer.apple.com/internet/opensource/cvsoverview.html Apple CVSOverview] (then search for the text "create a new group" or "!NetInfo Manager").
    191 
    192 Your {{{trac-admin}}} binary may not be in your search path - if {{{trac-admin}}} isn't found, try:
    193 
    194 {{{
    195 sudo ln -s /System/Library/Frameworks/Python.framework/Versions/Current/bin/trac* /usr/local/bin
    196 }}}
    197 
    198 to create links to them in {{{/usr/local/bin}}}.
    199 
    200 To apply {{{chgrp}}} and {{{chmod}}} recursively, you may do:
    201 {{{
    202 cd /var/trac/test
    203 find . -name "*" -exec chgrp trac {} \; -ls
    204 find . -name "*" -exec chmod g+sw {} \; -ls
    205 }}}
    206 
    207 For further trac configuration, see TracGuide.
    208 
    209 ''mario@ruggier.org''
    210 
    211 ----
    212 See also:  TracGuide, TracInstall, TracOnOsx, TracInstallPlatforms
     165Specifying {{{fs-type}}} is actually not necessary, as we have built