wiki:Dev/build/subversion

Version 5 (modified by mitty, 12 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)
  • 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"
    

Attachments (1)

Download all attachments as: .zip