Apr 032012
SVN서버를 사용할때 오래된 OS(redhat 7.3)에는 설치하기가 힘듭니다. OS가 maintaince 기간이 만료되었기 때문에 rpm 구하기가 힘듭니다.
yum 도 사용하기 힘들기 때문에 소스를 컴파일해서 설치해서 사용해야 합니다.
설치를 하다 보면 APR(Apache Portable Runtime) 패키지가 없어서 아래와 같이 컴파일 에러가 납니다.
[root@guide1 subversion-1.7.4]# ./configure configure: Configuring Subversion 1.7.4 configure: creating config.nice checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /bin/sed checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c configure: Apache Portable Runtime (APR) library configuration checking for APR... no configure: WARNING: APR not found The Apache Portable Runtime (APR) library cannot be found. Please install APR on this system and supply the appropriate --with-apr option to 'configure' or get it with SVN and put it in a subdirectory of this source: svn co \ http://svn.apache.org/repos/asf/apr/apr/branches/1.3.x \ apr Run that right here in the top level of the Subversion tree. Afterwards, run apr/buildconf in that subdirectory and then run configure again here. Whichever of the above you do, you probably need to do something similar for apr-util, either providing both --with-apr and --with-apr-util to 'configure', or getting both from SVN with: svn co \ http://svn.apache.org/repos/asf/apr/apr-util/branches/1.3.x \ apr-util configure: error: no suitable apr found [root@guide1 subversion-1.7.4]#
이런 문제를 해결하기 위해서는 최신 버전이 아닌 1.3.x 버전을 사용하면 해결이 가능합니다.
아래의 경로에서 다운로드 가능합니다.
http://archive.apache.org/dist/subversion/subversion-1.3.2.tar.gz
[root@guide1 root]# cat /etc/redhat-release Red Hat Linux release 7.3 (Valhalla) [root@guide1 root]# svn --version svn, version 1.3.2 (r19776) compiled Apr 3 2012, 15:09:18 Copyright (C) 2000-2006 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. - handles 'http' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme
참고사이트 : http://svn.haxx.se/users/archive-2006-06/0713.shtml
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/smlee/blog/wordpress/wp-content/plugins/seo-facebook-comments/seofacebook.php on line 488
Warning: Invalid argument supplied for foreach() in /home/smlee/blog/wordpress/wp-content/plugins/seo-facebook-comments/seofacebook.php on line 490