Contents

System/OS
2013.09.24 23:12

[mac] SVN 1.8 업데이트 방법

조회 수 14538 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
OSX에 기본적으로 svn 버전이 1.6x였다.
ADT Eclipse 의 MyLyn SVN Connecter 사용 시1.6x는 버전이 낮아서 이용할 수 없었다.
(Unable to load default SVN client  라는 메세지가 발생함)

아래의 링크에서 pkg 를 받아서 설치하므로 해결 할 수 있었다.
다운로드 링크 : http://www.wandisco.com/subversion/download#osx

- 유의할 점
OSX 버전에 맞춰서 다운로드
설치 후, profile 에 경로를 추가해야 함. ex) export PATH=/opt/subversion/bin:$PATH
아파치 기반의 Subversion Server 를 운영할 경우 하기의 설명을 따라야 함. 

--
- Subversion Server Setting
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"
...

You will also need to update the SSL portion of your httpd.conf if you're using SSL:

SSLProtocol ALL -SSLv2 -TLSv1

What this does is disable SSL v2 and TLS which would force SSLv3.  The reason for this is to work around a bug in the OpenSSL library shipped with OS X.
--


[참고] 윈도우나, 리눅스, 우분투 모두 이곳에서 다운로드 받을 수 있다.
http://subversion.apache.org/

.bash_profile 파일 예)
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

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

export SVN_EDITOR=/usr/bin/vim


?