Apple Mac Apache Subversion

From HaFrWiki
Jump to: navigation, search

Installation of Apache Server with Subversion on Apple iMac [1] .

Overview

This installer contains a universal (ppc, i386 and x86_64) build of Subversion 1.6.12 for OS X Snow Leopard (10.6). This is a complete binary distribution of Subversion including the following:

  • The Subversion client
  • Both Subversion servers (Apache modules and svnserve with SASL support)
  • Both Subversion backend datastores (Berkeley DB and FSFS)
  • All Subversion language bindings maintained by the Subversion team (Java, Perl, Python and Ruby)

As part of this installation, any Subversion installation found at /opt/subversion will be backed up to the location documented in the Important Locations section.

Post-Installation Notes

Once installed, you will need to prepend /opt/subversion/bin to your PATH environment variable. This can be done a multitude of ways but an easy one is to add the following to the end of ~/.profile:

 export PATH=/opt/subversion/bin:$PATH

If you plan on running an Apache-based Subversion server, you will also need to prepend the DYLD_LIBRARY_PATH variable in /usr/sbin/envvars with /opt/subversion/lib so that the Subversion libraries shipped with this binary are used instead of those supplied by the operating system.

Here is an example snippet of what /usr/sbin/envvars might look like after making these changes:

...
DYLD_LIBRARY_PATH="/opt/subversion/lib:/usr/lib:$DYLD_LIBRARY_PATH"
...

Uninstallation Notes

To uninstall the Subversion 1.6.11 Universal binary, just run the following:

sudo rm -fR /opt/subversion
pkgutil --forget net.collab.subversion

Important Locations

The following are installation locations that you should be aware of:

/opt/subversion/bin:                 This is where the Subversion executables will be installed
/opt/subversion/include:             This is where the Subversion headers, and the headers of its dependencies, will be installed
/opt/subversion/lib:                 This is where Subversion and it's dependency libraries will be installed
/opt/subversion/lib/svn-apache:      This is where the Subversion Apache modules will be installed
/opt/subversion/lib/svn-javahl:      This is where the Subversion Java bindings (JavaHL) will be installed
/opt/subversion/lib/svn-perl:        This is where the Subversion Perl bindings will be installed
/opt/subversion/lib/svn-python:      This is where the Subversion Python bindings will be installed (SWIG and ctypes based)
/opt/subversion/lib/svn-ruby:        This is where the Subversion Ruby bindings will be installed
/opt/subversion/man:                 This is where the Subversion and it's dependency man pages will be installed
/opt/subversion_backup.MMDDYYHHMMSS: This is where the Subversion installer will move any files that needed to be "overwritten"

Bindings Installation
Only the JavaHL bindings are installed on your behalf, requiring no other work from you to use JavaHL.  For the other language bindings, you will need to use their preferred method for adding the packages to their respective environments.

Binding Versions
Below are the version numbers of the included language bindings:
Java 1.6
Perl 5.10
Python 2.6
Ruby 1.8

Build Versions
Below is the list of libraries used to build the software installed:
Apache 2.2.13
APR 1.3.8
APR-UTIL 1.3.9
Cyrus SASL 2.2
Berkeley DB 4.5.20
Neon 0.28.6
Serf 0.3
SQLite 3.6.22
Subversion 1.6.11

Important Links

Subversion Universal Maintainer Information Name: Jeremy Whitlock Project Homepage: http://svnbinaries.open.collab.net Email: jwhitlock@collab.net

See also

top The following is a list of useful links for Subversion:

Alternatives

References

top

  1. CollabNet, CollabNet offers software for Subversion, TeamForge, and integrations to registered members of our openCollabNet community. Joining openCollabNet gives you access to downloads, newsletters, community experts, and project workspace.