SHARE
TWEET

Build subversion for apache

a guest Feb 6th, 2017 196 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x64
  2. http://subversion.apache.org/download/#recommended-release
  3. get sqlite-amalgamation from http://www.sqlite.org/download.html
  4. put NOT Compiled zlib into the source tree
  5.  
  6. https://serf.apache.org/download
  7. needs scons ( https://bitbucket.org/scons/scons/downloads/scons-2.3.5.win-amd64.exe )
  8.  
  9. Look for http://sourceforge.net/p/win32svn/code/HEAD/tree/
  10.  
  11.  
  12.  
  13. open zlib\win32\Makefile.msc
  14. replace line 20 with
  15. STATICLIB = zlibstat.lib
  16.  
  17. replace line 31 with
  18. ASFLAGS = -coff -Zi -safeseh $(LOC)
  19.  
  20. open zlib\zlib.h line 30 add
  21. #define ZLIB_WINAPI
  22.  
  23. copy zlib\win32\zlib.def and zlib\win32\zlib1.rc into zlib
  24.  
  25. command line
  26. cd zlib
  27. nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj
  28. copy zlibstat.lib zlib.lib
  29. cd ..\serf
  30. python C:\Python27\scripts\scons.py APR=C:\build\httpd-2.4.16-x64\srclib\apr APU=C:\build\httpd-2.4.16-x64\srclib\apr-util OPENSSL=C:\build\httpd-2.4.16-x64\srclib\openssl ZLIB=C:\build\subversion-1.9.5-ap24-x64\zlib TARGET_ARCH=x64 MSVC_VERSION=11.0
  31. cd ..
  32. C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.4.16-x64\srclib\apr --with-apr-util=C:\build\httpd-2.4.16-x64\srclib\apr-util --with-apr-iconv=C:\build\httpd-2.4.16-x64\srclib\apr-iconv --with-serf=C:\build\subversion-1.9.5-ap24-x64\serf --with-httpd=C:\build\httpd-2.4.16-x64 --with-openssl=C:\build\httpd-2.4.16-x64\srclib\openssl --with-zlib=C:\build\subversion-1.9.5-ap24-x64\zlib --vsnet-version=2012
  33.  
  34. msbuild.exe subversion_vcnet.sln /t:"__ALL__" /p:Configuration=Release /p:Platform=x64 /nologo /maxcpucount:1
  35. msbuild.exe subversion_vcnet.sln /t:"__MORE__" /p:Configuration=Release /p:Platform=x64 /nologo /maxcpucount:1
  36.  
  37.  
  38. GUI
  39. open subversion_vcnet.sln
  40. compile
  41.     __ALL__
  42.  
  43. ----------------------------------------------------------------------------------------------------------------------------
  44.  
  45. x86
  46. http://subversion.apache.org/download/#recommended-release
  47. get sqlite-amalgamation from http://www.sqlite.org/download.html
  48. put NOT Compiled zlib into the source tree
  49.  
  50. http://code.google.com/p/serf/downloads/list
  51. needs scons ( https://bitbucket.org/scons/scons/downloads/scons-2.3.5.win-amd64.exe )
  52.  
  53. open zlib\win32\Makefile.msc
  54. replace line 20 with
  55. STATICLIB = zlibstat.lib
  56.  
  57. replace line 31 with
  58. ASFLAGS = -coff -Zi -safeseh $(LOC)
  59.  
  60. open zlib\zlib.h line 30 add
  61. #define ZLIB_WINAPI
  62.  
  63. copy zlib\win32\zlib.def and zlib\win32\zlib1.rc into zlib
  64.  
  65. commandline
  66.  
  67. cd zlib
  68. nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj"
  69. copy zlibstat.lib zlib.lib
  70. cd ..\serf
  71. python C:\Python27\scripts\scons.py APR=C:\build\httpd-2.4.16-x86\srclib\apr APU=C:\build\httpd-2.4.16-x86\srclib\apr-util OPENSSL=C:\build\httpd-2.4.16-x86\srclib\openssl ZLIB=C:\build\subversion-1.9.5-ap24-x86\zlib TARGET_ARCH=x86 MSVC_VERSION=11.0
  72. cd ..
  73. C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.4.16-x86\srclib\apr --with-apr-util=C:\build\httpd-2.4.16-x86\srclib\apr-util --with-apr-iconv=C:\build\httpd-2.4.16-x86\srclib\apr-iconv --with-serf=C:\build\subversion-1.9.5-ap24-x86\serf --with-httpd=C:\build\httpd-2.4.16-x86 --with-openssl=C:\build\httpd-2.4.16-x86\srclib\openssl --with-zlib=C:\build\subversion-1.9.5-ap24-x86\zlib --vsnet-version=2012
  74.  
  75. msbuild.exe subversion_vcnet.sln /t:"__ALL__" /p:Configuration=Release /p:Platform=Win32 /nologo /maxcpucount:1
  76. msbuild.exe subversion_vcnet.sln /t:"__MORE__" /p:Configuration=Release /p:Platform=Win32 /nologo /maxcpucount:1
  77.  
  78. GUI
  79. open subversion_vcnet.sln
  80. compile
  81.     __ALL__
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top