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

RE: Linker issues building subversion on Windows

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Wed, 9 Sep 2009 12:22:16 +0200

> Van: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Johan Corveleyn wrote on Wed, 9 Sep 2009 at 02:36 +0200:
[snip]
> > 2) The svn build complained about not finding libapr-1.lib
> (although
> > apr, apr-util and apr-iconv seemed to have been correctly built,
> i.e.
> > there was). I couldn't find the file either, so after some
> ^
> There was what?

Oops, sorry. I meant to type that there was build output, but then I double-checked and couldn't find it anymore (and forgot about what I was typing :)). Maybe I was just confused and didn't build them correctly. Anyway, I got it working with the httpd build.
 
> You're ahead of me: I don't have httpd building on Windows. What
> version of httpd did you use? I'll download that version and try
> the
> win_compiling.html procedure again.

Version 2.2.13 (Win32 source distribution downloaded from httpd.apache.org)

> (I should commit the makefile when I have a few minutes)

Yes, that would be great. The svn build process on Windows should really be made easier and better documented. Committing your makefile, and document it (so people can find/use it) would be a good first step. Then maybe someone will find time to make it more robust/flexible, and to improve/document other parts of the windows build procedure.

Now, onto the next stage of my svn-windows build experiments: it doesn't run on another pc than the one on which I built it :(. Can you (or anyone else) help me troubleshoot?

- On the original build pc it all works fine (Win XP SP2).
- I took all files from the "package" output (svn.exe, svnadmin.exe, ... libsvn_*.dll, libapr*.dll, libeay32.dll) and put them on my work pc (Win XP SP3).
- On that work pc svn.exe fails to execute.
* executing in cmd.exe yields "Cannot execute given program" (or something like that, freely translated from Dutch).
* With stracent.exe, I get: "Error: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." Same feedback if I just start it with Start | Run
* Procmon.exe acts as if everything goes fine (all "SUCCESS" calls).
* In Cygwin, I get "svn: Permission denied".
* In Cygwin with strace, I get " strace: error creating process svn.exe, (error 14001)" (Some googling seems to indicate that Error 14001 corresponds to " CreateProcess failed")

I'm at a loss here. How can I troubleshoot this further? Maybe I made a stupid mistake during the build process, or maybe it's caused by SP3 vs. SP2? Or could this be caused by my fiddling with the masm versions?

Obviously I would like to have executables that are a little bit more portable (ideally between all 32bit Windows'es). Or can this only be achieved by building with VC 6 instead of VCE 2008? I don't really care about which compiler to use, as long as I can get it compiled. However, I don't have VC 6 lying around, and don't want to pay for a compiler just to build svn, so I thought the free VCE 2008 would suit me ...

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2392820

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-09 12:23:16 CEST

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.