Last active
May 31, 2016 20:21
-
-
Save JBlond/d626693182dbfa5994f1 to your computer and use it in GitHub Desktop.
Build svn 1.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x64 | |
http://subversion.apache.org/download/#recommended-release | |
get sqlite-amalgamation from http://www.sqlite.org/download.html | |
put NOT Compiled zlib into the source tree | |
http://code.google.com/p/serf/downloads/list | |
needs scons ( https://bitbucket.org/scons/scons/downloads/scons-2.3.5.win-amd64.exe ) | |
Look for http://sourceforge.net/p/win32svn/code/HEAD/tree/ | |
open zlib\win32\Makefile.msc | |
replace line 20 with | |
STATICLIB = zlibstat.lib | |
replace line 31 with | |
ASFLAGS = -coff -Zi -safeseh $(LOC) | |
open zlib\zlib.h line 30 add | |
#define ZLIB_WINAPI | |
copy zlib\win32\zlib.def and zlib\win32\zlib1.rc into zlib | |
command line | |
cd zlib | |
nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj | |
copy zlibstat.lib zlib.lib | |
cd ..\serf | |
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.4-ap24-x64\zlib TARGET_ARCH=x64 MSVC_VERSION=11.0 | |
cd .. | |
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.4-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.4-ap24-x64\zlib --vsnet-version=2012 | |
msbuild.exe subversion_vcnet.sln /t:"__ALL__" /p:Configuration=Release /p:Platform=x64 /nologo /maxcpucount:1 | |
msbuild.exe subversion_vcnet.sln /t:"__MORE__" /p:Configuration=Release /p:Platform=x64 /nologo /maxcpucount:1 | |
GUI | |
open subversion_vcnet.sln | |
compile | |
__ALL__ | |
---------------------------------------------------------------------------------------------------------------------------- | |
x86 | |
http://subversion.apache.org/download/#recommended-release | |
get sqlite-amalgamation from http://www.sqlite.org/download.html | |
put NOT Compiled zlib into the source tree | |
http://code.google.com/p/serf/downloads/list | |
needs scons ( https://bitbucket.org/scons/scons/downloads/scons-2.3.5.win-amd64.exe ) | |
open zlib\win32\Makefile.msc | |
replace line 20 with | |
STATICLIB = zlibstat.lib | |
replace line 31 with | |
ASFLAGS = -coff -Zi -safeseh $(LOC) | |
open zlib\zlib.h line 30 add | |
#define ZLIB_WINAPI | |
copy zlib\win32\zlib.def and zlib\win32\zlib1.rc into zlib | |
commandline | |
cd zlib | |
nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj" | |
copy zlibstat.lib zlib.lib | |
cd ..\serf | |
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.4-ap24-x86\zlib TARGET_ARCH=x86 MSVC_VERSION=11.0 | |
cd .. | |
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.4-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.4-ap24-x86\zlib --vsnet-version=2012 | |
msbuild.exe subversion_vcnet.sln /t:"__ALL__" /p:Configuration=Release /p:Platform=Win32 /nologo /maxcpucount:1 | |
msbuild.exe subversion_vcnet.sln /t:"__MORE__" /p:Configuration=Release /p:Platform=Win32 /nologo /maxcpucount:1 | |
GUI | |
open subversion_vcnet.sln | |
compile | |
__ALL__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment