link: Mananging Consultant

Cari Blog Ini

Jumat, 06 Mei 2011

Installing Subversion

Installing Subversion

After you have installed and properly set up Apache 2.0, the Subversion installation process is straightforward. We provide instructions here, highlighted by a configure script with Mac OS X specific parameters.
To install Subversion, complete the following steps:
1. Download the Subversion source code (not the Mac OS X binaries).
Note: At the time of this writing, the latest stable version of Subversion was version 1.2.3 (subversion-1.2.3.tar.gz).
2. Open Terminal in Mac OS X, and then extract the package.
tar xvfz subversion-1.2.3.tar.gz
cd subversion-1.2.3
3. Run the following command to configure the distribution for compilation:
./configure –prefix=/usr/local \
–mandir=/usr/local/share/man –with-ssl \
–with-apxs=/usr/local/apache2/bin/apxs –with-zlib \
–enable-swig-bindings=no –without-berkeley-db \
–with-apr=/usr/local/apache2 \
–with-apr-util=/usr/local/apache2
4. Note: If you did not install gcc prior to running configure, you will get an error here. Run the make command, and then run the sudo make install command.
make
sudo make install
Note: You must use sudo to run the make install command.
Subversion executables are installed into /usr/local/bin, which is not in the default path in Mac OS X Server v10.4. To add /usr/local/bin to a user’s default path, create a .profile file in your home directory (or simply add the line if you already have a .profile file):
cd ~
echo ‘export PATH=”$PATH:/usr/local/bin”‘ >> .profile

Tidak ada komentar: