[[PageOutline]] = subversion = * [http://it.cybergav.in/2009/09/07/installing-subversion-from-source-on-solaris-9/ How to install Subversion (from source) on Solaris 9 / RHEL 5.1 :Cybergavin] * [http://d.hatena.ne.jp/satosystems/20091126/1259249995 Ubuntu 9.04 で Subversion 1.6.5 をビルドして使えるようにするためのメモ - satosystemsの日記] * [http://www.kimura-lab.net/wiki/index.php/Subversion%E8%A8%AD%E5%AE%9A%E3%83%A1%E3%83%A2 Subversion設定メモ - Wikimura] == build on Windows == * [http://www.asahi-net.or.jp/~iu9m-tcym/svndoc/svn_basic_2005.html Subversion のコンパイル (for Windows) 基本編 (VS2005)] * Windows Vista Ultimate x64 SP1 * Microsoft Visual Studio 2008 Professional Edition === source === * wget http://subversion.tigris.org/downloads/subversion-1.6.13.zip * wget http://www.webdav.org/neon/neon-0.29.4.tar.gz * wget http://zlib.net/zlib-1.2.5.tar.gz * wget http://www.sqlite.org/sqlite-amalgamation-3.7.2.tar.gz * wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz * wget http://ftp.kddilabs.jp/infosystems/apache//httpd/httpd-2.2.16-win32-src.zip * wget http://svn.apache.org/repos/asf/apr/apr/trunk/build/cvtdsp.pl * wget http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe -O awk.exe === build === * unzip subversion-1.6.13.zip * tar xzf neon-0.29.4.tar.gz * move neon-0.29.4 subversion-1.6.13\neon * neon.makの修正は不要 * tar xzf zlib-1.2.5.tar.gz * move zlib-1.2.5 subversion-1.6.13\zlib * tar xzf sqlite-amalgamation-3.7.2.tar.gz * move sqlite-3.7.2 subversion-1.6.13\sqlite-amalgamation ==== build BDB ==== * tar xzf db-4.8.30.tar.gz * db-4.8.30\build_windows\Berkeley_DB.sln * ビルド => ソリューションのビルド * Debug/Release * mkdir db4-win32\bin db4-win32\include db4-win32\lib * xcopy db-4.8.30\build_windows\Win32\Debug\*.dll db4-win32\bin * xcopy db-4.8.30\build_windows\Win32\Release\*.dll db4-win32\bin * xcopy db-4.8.30\build_windows\db.h db4-win32\include * xcopy db-4.8.30\build_windows\db_cxx.h db4-win32\include * xcopy db-4.8.30\build_windows\Win32\Debug\*.lib db4-win32\lib * xcopy db-4.8.30\build_windows\Win32\Release\*.lib db4-win32\lib * move db4-win32 subversion-1.6.13\db4-win32 ==== build mod_dav_fs ==== * unzip httpd-2.2.16-win32-src.zip * perl cvtdsp.pl -2005 httpd-2.2.16 * httpd-2.2.16\Apache.dsw * 「すべてはい」 * mod_dav_fs => ビルド * Debug/Release * move httpd-2.2.16 subversion-1.6.13\httpd ==== build svn ==== * cd subversion-1.6.13 * python gen-make.py -t vcproj --vsnet-version=2008 --with-httpd=httpd * subversion_vcnet.sln * ビルド => !__ALL_TEST!__のビルド * 現状、構文エラーが大量に出て正常にビルドできず * => attachment:svn1.6.13.png == build on CentOS == * CentOS release 5.5 (Final) * no root privilege * gcc -v {{{ Target: x86_64-redhat-linux コンフィグオプション: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux スレッドモデル: posix gcc バージョン 4.1.2 20080704 (Red Hat 4.1.2-48) }}} * openssl version {{{ OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 }}} * grep VERSION /usr/include/zlib.h {{{ #define ZLIB_VERSION "1.2.3" }}} === source === * wget http://subversion.tigris.org/downloads/subversion-1.6.13.tar.gz * wget http://www.webdav.org/neon/neon-0.29.4.tar.gz * wget http://www.sqlite.org/sqlite-amalgamation-3.7.2.tar.gz * wget http://ftp.kddilabs.jp/infosystems/apache//httpd/httpd-2.2.17.tar.gz === extract === * tar xzf subversion-1.6.13.tar.gz * tar xzf neon-0.29.4.tar.gz * mv neon-0.29.4 subversion-1.6.13/neon * tar xzf sqlite-amalgamation-3.7.2.tar.gz * mv sqlite-3.7.2 subversion-1.6.13/sqlite-amalgamation * tar xzf httpd-2.2.17.tar.gz * cp -a httpd-2.2.17/srclib/apr subversion-1.6.13/ * cp -a httpd-2.2.17/srclib/apr-util subversion-1.6.13/ * mv httpd-2.2.17 subversion-1.6.13/httpd === build === ==== build expat ==== * cd subversion-1.6.13/apr-util/xml/expat/ * ./configure * make * cp -a libexpat.la lib/ * cp -a .libs/libexpat.so.0.5.0 lib/.libs/libexpat.so ==== build svn ==== * cd ../../../ * ./configure --with-ssl --enable-shared=no --without-berkeley-db --with-apache-libexecdir=no --prefix=$HOME/local/$OSTYPE * make * make install == build on MacOS X == * Darwin 10.4.0 * no root privilege * gcc -v {{{ Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5664) }}} * openssl version {{{ OpenSSL 0.9.8l 5 Nov 2009 }}} * grep VERSION /usr/include/zlib.h {{{ #define ZLIB_VERSION "1.2.3" }}} * sqlite3 --version {{{ 3.6.12 }}} * httpd -V {{{ Server version: Apache/2.2.14 (Unix) Server built: Feb 10 2010 22:22:39 Server's Module Magic Number: 20051115:23 Server loaded: APR 1.3.8, APR-Util 1.3.9 Compiled using: APR 1.3.8, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) }}} === source === * wget http://subversion.tigris.org/downloads/subversion-1.6.13.tar.gz * wget http://www.webdav.org/neon/neon-0.29.4.tar.gz === extract === * tar xzf subversion-1.6.13.tar.gz * tar xzf neon-0.29.4.tar.gz * mv neon-0.29.4 subversion-1.6.13/neon === build === * cd subversion-1.6.13 * ./configure --with-ssl --enable-shared=no --without-berkeley-db --with-apache-libexecdir=no --prefix=$HOME/local/$OSTYPE * make * make install