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

Re: comments about building svn on windows

From: Ivan Kolev <ikolev_at_nat.bg>
Date: 2003-08-05 15:12:20 CEST

> You've been using the source tarball, right? Well, you have to remove
> apr and apr-util from that tarball, and get the Windows sources that
> come with httpd. That's all in the build instructions.

OK, I followed the instructions more carefully (I just didn't feel like
downloading the apache source the first time, and actually I didn't have
to - it worked just with these two corrections, of course, I needed just
the svn client, probably it won't work for all sources) and they built
OK (the warnings are something I'm already used to...)

Here's what I found - in the file subversion/libsvn_ra_svn/client.c,
function ra_svn_open, line 387 (this is from the 0.25 build)
apr_proc_create is called without checking the result. If SVN_SSH
specifies an incorrect ssh client, or simply SVN_SSH is not specified
and there's no ssh.exe on the PATH, the process creation fails, and svn
continues onward trying to read from a non-existing connection, which hangs.
A better error checking/reporting in ra_svn_open would have saved me the
debugging... My problem turned out to be that I specified
SVN_SSH=e:\Programs\TortoiseCVS\TortoisePlink.exe -l Administrator
with single \'s, which were eaten by apr_tokenize_to_argv in
find_tunnel_agent. If svn had printed something like
"could not create process e:ProgramsTortoiseCVSTortoisePlink.exe -l
Administrator"
it would have been much easier...

Best Regards,
Ivan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 6 03:30:58 2003

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

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