Hi,
I try to build subversion from source but getting into trouble.
This is what I have and what I do.
OS details: Windows XP pro (Dutch)
Software:
- Visual Studio 2005.
- Python 2.5.2
- Perl 5.10.0
- AWK (gnu 3.1.6)
- no Ruby
- no MASM
- subversion client 1.4.6
Subversion sources:
- svn co http://svn.collab.net/repos/svn/trunk (got version 31601)
- subversion-deps-1.5.0-rc9.zip
My configuration for subversion:
- with libapr, libapr-util and libapr-iconv (required.)
- with libz (required.)
- with (or without) libneon (optional, does not make a difference.)
- without libserf (optional, no need for it.)
- without OpenSSL (optional, no need for it.)
- without Berkeley DB (optional, lets first get this going without it.)
- without libsasl (optional, no need for it.)
This all gives me a subversion directory with the following folders and files:
Map van ...\SVN\1.5.0\subversion
05-06-2008 12:24 1.058 aclocal.m4
05-06-2008 17:25 <DIR> apr
05-06-2008 17:26 <DIR> apr-iconv
05-06-2008 17:28 <DIR> apr-util
07-05-2008 10:21 5.463 autogen.sh
07-05-2008 10:21 109 BUGS
05-06-2008 12:24 <DIR> build
05-06-2008 12:24 30.858 build.conf
05-06-2008 17:21 3.663 build.win.bat
05-06-2008 12:24 141.235 CHANGES
05-06-2008 12:24 10.909 COMMITTERS
05-06-2008 12:24 34.001 configure.ac
27-05-2008 13:29 <DIR> contrib
07-05-2008 10:21 2.844 COPYING
27-05-2008 13:29 <DIR> doc
05-06-2008 17:30 165 gen-make.opts
05-06-2008 12:24 9.057 gen-make.py
07-05-2008 10:21 115 HACKING
07-05-2008 10:21 66.206 INSTALL
05-06-2008 12:24 28.801 Makefile.in
05-06-2008 17:13 <DIR> neon
05-06-2008 12:23 <DIR> notes
27-05-2008 13:27 <DIR> packages
07-05-2008 10:21 2.326 README
05-06-2008 17:32 <DIR> Release
05-06-2008 16:10 <DIR> serf
05-06-2008 12:24 <DIR> subversion
05-06-2008 17:12 137.964 subversion_vcnet.sln
05-06-2008 13:26 <DIR> tools
05-06-2008 12:24 10.057 TRANSLATING
05-06-2008 12:24 18.899 win-tests.py
05-06-2008 12:23 <DIR> www
05-06-2008 17:13 <DIR> zlib
I use the build.win.bat file to build subversion. Here is its content:
@echo off
set MSVC="D:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
set MSVS="D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
set BUILD=Release
set SVNpackage=SVN150
rem python make file generator options (package configuration)
set PARAMS=-t vcproj --vsnet-version=2005
set PARAMS=%PARAMS% --release
set PARAMS=%PARAMS% --with-zlib=zlib
set PARAMS=%PARAMS% --with-apr=apr
set PARAMS=%PARAMS% --with-apr-util=apr-util
set PARAMS=%PARAMS% --with-apr-iconv=apr-iconv
set PARAMS=%PARAMS% --with-neon=neon
echo *** cleaning up phase.
rmdir /s /q %BUILD%
rmdir /s /q %SVNpackage%
echo *** build environment phase.
call %MSVC% x86
echo *** build make scripts phase.
python gen-make.py %PARAMS%
IF ERRORLEVEL 1 GOTO ERROR
echo *** compiling phase.
%MSVS% subversion_vcnet.sln /build "%BUILD%" /project "__ALL_TESTS__"
IF ERRORLEVEL 1 GOTO ERROR
echo *** packing phase.
python build\win32\make_dist.py %SVNpackage% %SVNpackage%
IF ERRORLEVEL 1 GOTO ERROR
rem EXIT 0
goto end
rem ----------------------------------------------------
:ERROR
ECHO.
ECHO *** Whoops, something choked.
ECHO.
:end
echo done.
Running this build.win.bat fails to build subversion, here is its output.
G:\z800115\SVN\1.5.0\subversion>build.win.bat
...
*** build environment phase.
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
*** build make scripts phase.
python gen-make.py -t vcproj --vsnet-version=2005 --release --with-zlib=zlib --with-apr=apr --with-apr-util=apr-util --with-apr-iconv=apr-iconv --with-neon=neon
BDB not found, BDB fs will not be built
Generating for VS.NET 2005
Could not detect Ruby version.
Ruby bindings will be linked with msvcrt-ruby18.lib
Found installed perl version number.
Perl bindings will be linked with perl510.lib
Could not find installed SWIG, assuming version 1.3.25
Found neon version 0.28.2
swig not found; skipping SWIG file generation...
Wrote: build\win32\svn_config.vcproj
Wrote: build\win32\svn_locale.vcproj
Wrote: build\win32\zlib.vcproj
Wrote: neon\neon.vcproj
Wrote: build\win32\vcnet-vcproj\__ALL_TESTS___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\__ALL___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\__JAVAHL___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\__LIBS___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\__SWIG_PERL___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\__SWIG_PYTHON___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\__SWIG_RUBY___vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_cache_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_client_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_compat_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_config_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\diff_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_diff_diff3_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\diff3_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\diff4_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_error_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_fs_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_hashdump_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_java_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_javah_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_javahl_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_auth_gnome_keyring_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_auth_kwallet_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_client_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_delta_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_diff_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_fs_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_util_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_local_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_neon_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_svn_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_repos_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_subr_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_swig_perl_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_swig_py_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_swig_ruby_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_test_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_wc_dll_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvnjavahl_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_locks_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_mergeinfo_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_opt_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_path_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_client_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_core_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_delta_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_diff_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_fs_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_ra_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_repos_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_perl_wc_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_client_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_core_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_delta_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_diff_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_fs_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_ra_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_repos_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_python_wc_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_ra_local_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_random_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_repos_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_revision_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_client_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_core_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_delta_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_diff_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_fs_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_ra_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_repos_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\swig_ruby_wc_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_stream_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_string_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svn_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svn_populate_node_origins_index_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svn_push_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_client_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_delta_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_diff_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_repos_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_subr_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_wc_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnadmin_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnauthz_validate_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_svndiff_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svndumpfilter_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnlook_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnmucc_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnserve_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnsync_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\svnversion_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_target_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_time_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_translate_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_utf_vcnet.vcproj
Wrote: build\win32\vcnet-vcproj\test_vdelta_vcnet.vcproj
*** compiling phase.
"D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" subversion_vcnet.sln /build "Release" /project "__ALL_TESTS__"
*** Whoops, something choked.
done.
Visual Studio does not complain about anything. Still it fails.
Compiling the subversion dependencies manual makes a difference but the make_dist.py always complains about missing mod_dav_svn. This I don't understand as it is depending on the --with-httpd flag which I do not use.
I feel like I'm running in circles now. Can someone advise me on what I am doing wrong?
-- Andre
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-05 18:19:37 CEST