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

Re: Building on win32

From: Andreas Pakulat <apaku_at_gmx.de>
Date: 2007-05-14 23:54:46 CEST

On 14.05.07 14:51:12, D.J. Heap wrote:
> On 5/14/07, Andreas Pakulat <apaku@gmx.de> wrote:
> [snip]
> >
> >The sqllite problem I could figure out myself. The main problem with
> >those instructions is that its using an obviously outdated directory
> >tree and thus I wasn't sure if I really need to put neon apr and zlib
> >into the subversion dir (the one containing www, doc, build and so on).
> >So I started to read the .py modules to find that out. It turns out zlib
> >is the only thing for which I need to put the sources into a zlib dir in
> >the subversion directory. I'm not sure I have a working neon library due
> >to many warnings during the compilation of that and some hacks I had to
> >apply to its makefile...
> I get quite a few warnings as well -- MS seems stricter about some
> things than other compilers. However, I haven't had to tweak any
> recent versions of neon -- I think I did on versions before .25,
> though. What are you having to change?

Well, one thing I had to change was how it looked for libs (and where).
I don't use it with sources of zlib or openssl. I use
prepackaged binaries, so when I use ZLIB_SRC=somedir the makefile tries
to look for out32/zlib.lib. Also the import lib for zlib is set to
zdll.lib, which is wrong for me here too.

> >> Post
> >> specific questions/problems/error messages and you are more likely to
> >> get helpful answers.
> >
> >Ok, no problem. See the attached file, I do have the platform sdk
> >include dir in INCLUDE, but the winres.h file is in an mfc subdir in
> >that. Do I need to add that mfc subdir to INCLUDE too or should this
> >rather be fixed somewhere else...
> Hmm, I vaguely remember having an issue with winres.h in VCExpress,
> but I can't remember what I had to do -- probably added the include
> directory as you say above, or maybe just copied it somewhere already
> in the include list. I wonder if we really need to include that
> file...we can't need much from it -- svn.rc is just some version info
> and an icon, I think.

Yeah, did so already, ended up with missing symbols (unfortunately I
don't know how to get english error messages), it looks as if xml.lib
which is built as part of apr-util is not enough to resolve these
symbols. I tried with neon built against expat as well as having it
built against libxml2, but no sucess.

The cofig command I used is:
python gen-make.py -t vcproj --vsnet-version=2005 --release --with-apr=..\httpd-2.0.59\srclib\apr --with-apr-util=..\httpd-2.0.59\srclib\apr-util --with-apr-iconv=..\httpd-2.0.59\srclib\apr-iconv --with-sqlite=d:\andreas\win32libs --with-zlib=zlib --with-openssl=d:\andreas\win32libs --with-neon=neon

(Where win32libs has bin,lib,include subdirs with openssl, zlib and
I built using:
msbuild subversion_vcnet.sln /t:__LIBS__ /p:Configuration=Release /p:VCBuildAdditionalOptions=/useenv

The whole message is attached, if you need more verbose information
please tell me how to get those - I really don't know VS..


Don't plan any hasty moves.  You'll be evicted soon anyway.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Mon May 14 23:55:21 2007

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.