가능한 조치1 : 해당 디렉토리에서 모든 파일을 커밋(commit) 한다.
가능한 조치2 : 디렉토리를 통째로 커밋(commit) 한다
임의로 .svn directory 를 지웠을 때 나타나는 에러 메시지
svn checkout 을 다시 하면 된다.import 중 다음과 같은 에러 발생
Adding src2008/pibg/pibg5180
svn: Invalid control character '0x7f' in path 'src2008/pibg/pibg5180/pibg5180.c'
svn: Your commit message was left in a temporary file:
svn: 'svn-commit.2.tmp'
ls -b 로 보니 특수 문자가 들어있는 파일이 있다.
arbi9:/home/cts/src2008/pibg/pibg5180>ls -b
CVS/ pibg5180* pibg5180.c.1108 pibg5180.c.new pibg5180.c.sav
makefile* pibg5180.c pibg5180.c.1130 pibg5180.c.org \177pibg5180.c
windows ftp client (WinSCP)로 접속해서 지웠다
(참고: http://osdir.com/ml/version-control.subversion.cvs2svn.user/2006-06/msg00058.html)
몇 시간 동안 삽질 후에 성공했다.
* tar 를 root 로 풀어야 하는 것
* 관련 라이브러리(내 경우에는 libintl.a)를 LIBPATH 에 추가해주는 것이 중요
1. 아래 URL 에서 binary 받음. 파일 복사(설치하지 않았음)
http://www.open.collab.net/downloads/community/
2. 서버에 복사
subversion-1.4.6-apache-python.tar 를 서버의 /tmp 에 ftp 로 올렸다.
3. root 로 /opt/... 에 tar 풀었다
$ su - root
# cp /tmp/subversion-1.4.6-apache-python.tar /
# cd /
# tar -xvf subversion-1.4.6-apache-python.tar
3. ~/.profile LIBPATH에 추가.
/usr/opt/freeware/lib 를 추가하지 않았을 때는 에러가 난다. 항목 4 를 참고.
/usr/opt/freeware/lib 경로는 lslpp -fc | grep libintl 명령으로 추정한 것이다.
LIBPATH="/usr/opt/freeware/lib":$LIBPATH
LIBPATH="/opt/subversion/lib":$LIBPATH
export LIBPATH
4. 참고 에러 메시지
arbi9:root:/opt/subversion/bin#svn
exec(): 0509-036 다음 오류 때문에 svn 프로그램을 로드할 수 없습니다.
0509-150 종속 모듈 /home1/sybase/OCS-12_5/lib/libintl.a(libintl.so.1)이(가) 로드되지 않았습니다.
0509-152 libintl.so.1 멤버가 아카이브 에 없습니다.