[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Building Subversion For Windows

From: Brad Lemings <brad_at_rebit.com>
Date: Fri, 9 Mar 2012 10:21:13 -0800

Hello all,

I'm trying to build Subversion on Windows. When I run the gen-make.py script, I get this:

>python gen-make.py --release -t vcproj --vsnet-version=2008
BDB not found, BDB fs will not be built

Generating for Visual Studio 2008

Could not detect Ruby version, assuming 1.8.
  Ruby bindings will be linked with msvcrt-ruby18.lib

Found installed perl version number.
  Perl bindings will be linked with perl512.lib

Could not find installed SWIG, assuming version 1.3.25

Found JDK version 1.6 in C:\Program Files\Java\jdk1.6.0_27

Found SQLite version 3.7.10

Found ZLib version 1.2.6

Found neon version 0.29.6

Wrote: build\win32\vcnet-vcproj\build_zlib.bat
Wrote: build\win32\vcnet-vcproj\build_locale.bat
swig not found; skipping SWIG file generation...
Wrote: build\win32\vcnet-vcproj\svn_config.vcproj
Wrote: build\win32\vcnet-vcproj\svn_locale.vcproj
Wrote: build\win32\vcnet-vcproj\zlib.vcproj
Wrote: neon\neon.vcproj
Wrote: build\win32\vcnet-vcproj\__ALL_TESTS__.vcproj
Wrote: build\win32\vcnet-vcproj\__ALL__.vcproj
Wrote: build\win32\vcnet-vcproj\__JAVAHL_TESTS__.vcproj
Wrote: build\win32\vcnet-vcproj\__JAVAHL__.vcproj
Wrote: build\win32\vcnet-vcproj\__LIBS__.vcproj
Wrote: build\win32\vcnet-vcproj\atomic_ra_revprop_change.vcproj
Wrote: build\win32\vcnet-vcproj\test_auth.vcproj
Wrote: build\win32\vcnet-vcproj\test_cache.vcproj
Wrote: build\win32\vcnet-vcproj\test_checksum.vcproj
Wrote: build\win32\vcnet-vcproj\test_client.vcproj
Wrote: build\win32\vcnet-vcproj\test_compat.vcproj
Wrote: build\win32\vcnet-vcproj\test_config.vcproj
Wrote: build\win32\vcnet-vcproj\test_db.vcproj
Wrote: build\win32\vcnet-vcproj\diff.vcproj
Wrote: build\win32\vcnet-vcproj\test_diff_diff3.vcproj
Wrote: build\win32\vcnet-vcproj\diff3.vcproj
Wrote: build\win32\vcnet-vcproj\diff4.vcproj
Wrote: build\win32\vcnet-vcproj\test_dirent_uri.vcproj
Wrote: build\win32\vcnet-vcproj\test_entries_compat.vcproj
Wrote: build\win32\vcnet-vcproj\entries_dump.vcproj
Wrote: build\win32\vcnet-vcproj\test_error.vcproj
Wrote: build\win32\vcnet-vcproj\test_fs_pack.vcproj
Wrote: build\win32\vcnet-vcproj\test_fs.vcproj
Wrote: build\win32\vcnet-vcproj\test_hashdump.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_callback_javah.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_compat_java.vcproj
Wrote: build\win32\vcnet-vcproj\test_javahl_compat.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_java.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_javah.vcproj
Wrote: build\win32\vcnet-vcproj\test_javahl.vcproj
Wrote: build\win32\vcnet-vcproj\javahl_types_javah.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_client_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_delta_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_diff_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_fs.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_fs_util.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_local.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_neon.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_ra_svn.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_repos_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_subr_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_test.vcproj
Wrote: build\win32\vcnet-vcproj\libsvn_wc_dll.vcproj
Wrote: build\win32\vcnet-vcproj\libsvnjavahl.vcproj
Wrote: build\win32\vcnet-vcproj\test_locks.vcproj
Wrote: build\win32\vcnet-vcproj\test_mergeinfo.vcproj
Traceback (most recent call last):
  File "gen-make.py", line 317, in <module>
    main(conf, gentype, skip_depends=skip, other_options=rest.list)
  File "gen-make.py", line 65, in main
    generator.write()
  File "build\generator\gen_vcnet_vcproj.py", line 214, in write
    self.write_project(target, fname, deplist)
  File "build\generator\gen_vcnet_vcproj.py", line 86, in write_project
    configs = self.get_configs(target)
  File "build\generator\gen_win.py", line 476, in get_configs
    libdirs=self.get_win_lib_dirs(target, cfg),
  File "build\generator\gen_win.py", line 1000, in get_win_lib_dirs
    fakelibdirs.append(self.apath(self.httpd_path, cfg))
  File "build\generator\gen_win.py", line 361, in apath
    if os.path.isabs(path):
  File "C:\Program Files\Python\27\lib\ntpath.py", line 57, in isabs
    s = splitdrive(s)[1]
  File "C:\Program Files\Python\27\lib\ntpath.py", line 125, in splitdrive
    if p[1:2] == ':':
TypeError: 'NoneType' object is not subscriptable

Any suggestions? I have extracted Apache HTTPD in the same directory as the Subversion source. I have also linked the HTTPD directory from within the Subversion directory. Or is the problem from something else entirely?

Also, will BDB 5 work?

Thanks.
Received on 2012-03-09 19:21:47 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.