wiki:Dev/build/subversion

Version 6 (modified by mitty, 13 years ago) (diff)

--

subversion

build on Windows

  • Windows Vista Ultimate x64 SP1
  • Microsoft Visual Studio 2008 Professional Edition

source

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__のビルド

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

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

Attachments (1)

Download all attachments as: .zip