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

RE: Where to ask for help compiling svn on windows?

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Thu, 9 Oct 2014 08:47:11 +0000

> -----Original Message-----
> From: Bert Huijben [mailto:bert_at_qqmail.nl]
> Sent: 08 October 2014 17:18
>
> > -----Original Message-----
> > From: Cooke, Mark [mailto:mark.cooke_at_siemens.com]
> > Sent: woensdag 8 oktober 2014 17:07
> > To: users_at_subversion.apache.org
> > Subject: Where to ask for help compiling svn on windows?
> >
> > Specifically, I am trying to build subversion on windows 7 using Visual
> > Studio 2012. I have got so far (I think I have httpd building OK with
> > OpenSSL for example, I can run up httpd and connect to the server), but
> > the libsvn_client_dll project is failing with:
> >
> > LNK1181: cannot open input file
> > 'D:\svn\src\Release\subversion\libsvn_ra\libsvn_ra-1.lib'
> >
> > When I check for libsvn_ra-1.lib I can only find
> > `d:\svn\src\release\subversion\libsvn_ra\svn_ra-1.lib` so it looks like
> > the project files are wrong or I am missing something.
>
> If you are building with shared libraries (=without passing --disable-shared
> to gen-make.py), you should have both libraries.
>
> Most likely this error is caused by an earlier linkage error.
>
> Bert

Thanks for the feedback, I was getting quite frazzled after two days slowly assembling a build machine. I went back and did a full __ALL_TESTS__ build and got lots of errors, however sorting them gives me multiple instance of just the following:

LNK1181: cannot open input file 'serf-1.lib'
LNK1181: cannot open input file 'D:\svn\src\Release\subversion\libsvn_ra\libsvn_ra-1.lib`
LNK1181: cannot open input file 'D:\svn\src\Release\subversion\libsvn_client\libsvn_client-1.lib'
LNK1181: cannot open input file 'D:\svn\src\Release\subversion\bindings\swig\python\libsvn_swig_py\libsvn_swig_py-1.lib'

...plus...

C1083: Cannot open include file: 'stdbool.h': No such file or directory c:\strawberry\perl\lib\core\handy.h 77
C1083: Cannot open include file: 'ruby.h': No such file or directory D:\svn\src\subversion\bindings\swig\ruby\svn_wc.c 821

....which I assume come from the perl or ruby bindings (I need neither).

So it looks like I need to start with serf ~ did this used to be part of the subversion build? [1] does not mention any build steps for serf so I assumed it was built by svn. Checking the solution it looks not to be the case, though, so I investigated further and find:

http://mail-archives.apache.org/mod_mbox/subversion-dev/201308.mbox/%3C00fc01ce9fe4$1c2bde80$54839b80$@qqmail.nl%3E

...so I now have serf and subversion built (Rebuild All: 89 succeeded, 0 failed, 0 skipped; running tests now).

However, I am also seeing a _lot_ of warnings similar to:

RC4011: identifier truncated to '_CRT_USE_WINAPI_FAMILY_DESKTOP_' C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h

...can you help with those? The search results I have so far were not very enlightening.

~ mark c
Received on 2014-10-09 10:47:47 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.