Skip to content

Instantly share code, notes, and snippets.

@JBlond JBlond/svn build_1.9.txt
Last active Aug 16, 2016

Embed
What would you like to do?
svn build
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
https://serf.apache.org/download
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
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
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
GUI
open subversion_vcnet.sln
compile
__ALL__
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
1.2.1
--------------------------------------------------------------------------------------------------------------------------------------
C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.2.27-x86\srclib\apr --with-apr-util=C:\build\httpd-2.2.27-x86\srclib\apr-util --with-apr-iconv=C:\httpd-2.2.27-x86\srclib\apr-iconv --with-serf=C:\build\subversion-1.8.13-x86\serf --with-httpd=C:\build\httpd-2.2.27-x86 --with-openssl=C:\build\httpd-2.2.27-x86\srclib\openssl --with-zlib=C:\build\subversion-1.8.13-x86\zlib --vsnet-version=2008
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"
GUI
compile
- zlib
- serf
- __ALL-TESTS__
--------------------------------------------------------------------------------------------------------------------------------------
C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.2.27-x64\srclib\apr --with-apr-util=C:\build\httpd-2.2.27-x64\srclib\apr-util --with-apr-iconv=C:\httpd-2.2.27-x64\srclib\apr-iconv --with-serf=C:\build\subversion-1.8.13-x64\serf --with-httpd=C:\build\httpd-2.2.27-x64 --with-openssl=C:\build\httpd-2.2.27-x64\srclib\openssl --with-zlib=C:\build\subversion-1.8.13-x64\zlib --vsnet-version=2008
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"
GUI
compile
- zlib
- serf
- __ALL-TESTS__
--------------------------------------------------------------------------------------------------------------------------------------
C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.4.9\srclib\apr --with-apr-util=C:\build\httpd-2.4.9\srclib\apr-util --with-apr-iconv=C:\build\httpd-2.4.9\srclib\apr-iconv --with-serf=C:\build\subversion-1.8.13-ap24-x86\serf --with-httpd=C:\build\httpd-2.4.9 --with-openssl=C:\build\httpd-2.4.9\srclib\openssl --with-zlib=C:\build\subversion-1.8.13-ap24-x86\zlib --vsnet-version=2012
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"
open zlib\win32\Makefile.msc replace line 31 with
ASFLAGS = -coff -Zi -safeseh $(LOC)
devenv subversion_vcnet.sln /build "Release" /project "__ALL_TESTS__"
GUI
compile
- zlib
- serf
- __ALL-TESTS__
--------------------------------------------------------------------
C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.4.9-x64\srclib\apr --with-apr-util=C:\build\httpd-2.4.9-x64\srclib\apr-util --with-apr-iconv=C:\build\httpd-2.4.9-x64\srclib\apr-iconv --with-serf=C:\build\subversion-1.8.13-ap24-x64\serf --with-httpd=C:\build\httpd-2.4.9-x64 --with-openssl=C:\build\httpd-2.4.9-x64\srclib\openssl --with-zlib=C:\build\subversion-1.8.13-ap24-x64\zlib --vsnet-version=2012
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"
open zlib\win32\Makefile.msc replace line 31 with
ASFLAGS = -coff -Zi -safeseh $(LOC)
GUI
compile
- zlib
- serf
- __ALL-TESTS__
--------------------------------------------------------------------
VC9 VC2008
--------------------------------------------------------------------
C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.4.9-x64\srclib\apr --with-apr-util=C:\build\httpd-2.4.9-x64\srclib\apr-util --with-apr-iconv=C:\build\httpd-2.4.9-x64\srclib\apr-iconv --with-serf=C:\build\subversion-1.8.13-ap24-vc9-x64\serf --with-httpd=C:\build\httpd-2.4.9-x64 --with-openssl=C:\build\httpd-2.4.9-x64\srclib\openssl --with-zlib=C:\build\subversion-1.8.13-ap24-vc9-x64\zlib --vsnet-version=2008
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"
open zlib\win32\Makefile.msc replace line 31 with
ASFLAGS = -coff -Zi -safeseh $(LOC)
GUI
compile
- zlib
- serf
- __ALL-TESTS__
C:\python27\python gen-make.py --release -t vcproj --with-apr=C:\build\httpd-2.4.9-x86\srclib\apr --with-apr-util=C:\build\httpd-2.4.9-x86\srclib\apr-util --with-apr-iconv=C:\build\httpd-2.4.9-x86\srclib\apr-iconv --with-serf=C:\build\subversion-1.8.13-ap24-vc9-x86\serf --with-httpd=C:\build\httpd-2.4.9-x86 --with-openssl=C:\build\httpd-2.4.9-x86\srclib\openssl --with-zlib=C:\build\subversion-1.8.13-ap24-vc9-x86\zlib --vsnet-version=2008
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"
open zlib\win32\Makefile.msc replace line 31 with
ASFLAGS = -coff -Zi -safeseh $(LOC)
GUI
compile
- zlib
- serf
- __ALL-TESTS__
--------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.