Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN, Apache, Win7 x64 - where to find mod_dav_svn and mod_dav_auth?

I'm trying to get SVN + Apache going on Windows 7 x64 but apparently I need 64-bit versions of mod_dav_svn.so and mod_dav_auth.so.

Are these available somewhere? I'm very much trying to avoid building them myself.

Spec:

  • SlikSVN x64
  • SVN 1.7.4
  • Apache 2.2

Some background

The reason I say "apparently I need these" is from this log error:

httpd.exe: Syntax error on line 492 of foo/httpd.conf: Cannot load foo/modules/mod_dav_svn.so into server: The specified module could not be found.

If I use a SVN binary for an x86 architecture, the error is the same, but the last sentence reads

The specified procedure could not be found

which indicates an architecture problem, I think. Can someone help out?

like image 772
Ben Avatar asked Mar 26 '12 09:03

Ben


1 Answers

OK, actually these modules were not the cause of the problem. As detailed here, the message is misleading and there are actually dependencies missing from those two files.

Over the last 24 hours, I read somewhere that after Subversion 1.5, the program uses DLLs. Unfortunately, most of the directions out there are not yet updated to reflect this, so here's what I did, just for the next guy.

  • Download and install a x64 Apache build from ApacheHaus
  • Download a Subversion mod build from the same place
  • Grab mod_dav_svn and mod_dav_auth from /modules in the Subversion mod, put into /modules in the Apache
  • Grab all the DLLs from Haus mod /bin and put into the Apache /bin
  • (Re)start and cross fingers.

Apparently, to help with this sort of problem, DependencyWalker is a good tool.

On to the next challenge!

like image 170
Ben Avatar answered Nov 04 '22 23:11

Ben