You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by SteveKing <st...@gmx.ch> on 2003/11/14 18:44:44 UTC
compile errors with 0.33
Hi,
Here's what I did:
svn checkout http://svn.collab.net/repos/svn/tags/0.33.0/ SubVersion
then copied all the required external libraries to the required
locations (e.g. apache 2.0.48, neon, apr, openssl, ...)
then I did
python gen-make.py -t
vcproj --with-openssl=F:\Development\SVN\common\openssl --with-zlib=F:\Devel
opment\SVN\common\zlib
the vcproj files got created.
But when I then try to compile Subversion
I get many, many compile errors in libsvn_fs
Compiling...
uuid.c
f:\Development\SVN\SubVersion\apr-util\include\apu.h(147) : warning C4005:
'APU_HAVE_DB' : macro redefinition
command-line arguments : see previous definition of 'APU_HAVE_DB'
f:\Development\SVN\SubVersion\subversion\libsvn_fs\fs.h(48) : error C2061:
syntax error : identifier 'DB_ENV'
f:\Development\SVN\SubVersion\subversion\libsvn_fs\fs.h(51) : error C2143:
syntax error : missing '{' before '*'
f:\Development\SVN\SubVersion\subversion\libsvn_fs\fs.h(52) : error C2143:
syntax error : missing '{' before '*'
f:\Development\SVN\SubVersion\subversion\libsvn_fs\fs.h(53) : error C2143:
syntax error : missing '{' before '*'
f:\Development\SVN\SubVersion\subversion\libsvn_fs\fs.h(54) : error C2143:
syntax error : missing '{' before '*'
.....
libsvn_fs - 545 error(s), 27 warning(s)
So my question is: what did change between 0.32.1 and 0.33 in the
compilation process?
What do I have to do to compile successfully?
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: compile errors with 0.33
Posted by SteveKing <st...@gmx.ch>.
----- Original Message -----
From: "D.J. Heap" <dj...@shadyvale.net>
> A tweak to apr-util is required -- search the archives for APU_HAVE_DB
> and you should find a small patch from Brane for it. It's only
> temporary until the next Apache release, I believe.
Thanks for the hint.
I changed
#define APU_HAVE_DB 0
in apu.h to
#define APU_HAVE_DB 1
and the added the path to the berkeley
header files to the incudes.
Now compiling goes without any problems...
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: compile errors with 0.33
Posted by Branko Čibej <br...@xbc.nu>.
D.J. Heap wrote:
> A tweak to apr-util is required -- search the archives for APU_HAVE_DB
> and you should find a small patch from Brane for it. It's only
> temporary until the next Apache release, I believe.
Yes, actually, it should go away now. Check out apr-util at head of
APU_0_9_BRANCH and look at build/w32locatedb.pl. You can use this script
to tweak the apr-util headers and build scripts to use BDB.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: compile errors with 0.33
Posted by "D.J. Heap" <dj...@shadyvale.net>.
A tweak to apr-util is required -- search the archives for APU_HAVE_DB
and you should find a small patch from Brane for it. It's only
temporary until the next Apache release, I believe.
DJ
SteveKing wrote:
> Hi,
>
> Here's what I did:
> svn checkout http://svn.collab.net/repos/svn/tags/0.33.0/ SubVersion
>
> then copied all the required external libraries to the required
> locations (e.g. apache 2.0.48, neon, apr, openssl, ...)
>
[snip]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org