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

Re: compile problem subversion 1.0.6

From: Kevin Bentley <kevin.bentley_at_gmail.com>
Date: 2004-09-06 16:52:40 CEST

This will happen if you have an old copy of the bdb include files
somewhere, and apr finds and uses that. If you look in the file
apu_want.h in the apr package, you might find that it is including
db1/db.h or something like that. Make sure you have a new version of
the berkeley database installed, and run configure with
--with-berkeley-db= pointing to that location.

For what it's worth, I don't think that bdb 4.2.x will work with the
version of Subversion you are trying to build unless you apply a patch
to your apr-util directory (or as I did, download a newer version of
apr from apache's web site). Perhaps that's the real cause of your
problem. In the 1.1.0-rc2 package, there's a patch file called
db42-support-patch.txt.

On Mon, 6 Sep 2004 09:37:49 +0200 (CEST), Dominik Fritz
<svn@dominikfritz.de> wrote:
> Hi Bas,
>
> I checked the integrity of the packages db, db-devel and db-util each
> with version 4.2.52.85 and all of them seem to be ok.
> And if I compare the db relevant sections of the configure output with
> the file you send me, everything seems to be fine too.
> Do you have an other hint why compiling could fail?
>
> /bin/sh /storage/install/subversion-1.0.6/libtool --silent
> --mode=compile gcc -DLINUX=2 -D_REENTR
> ANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g
> -O2 -g -O2 -pthread -DNE
> ON_ZLIB -I./subversion/include -I.
> -I/storage/install/subversion-1.0.6/neon/src -I/usr/local/inc
> lude/neon -I/usr/local/apache2/include
> -I/storage/install/subversion-1.0.6/apr-util/include -o
> subversion/libsvn_fs/bdb/bdb-err.lo -c subversion/libsvn_fs/bdb/bdb-err.c
> In file included from subversion/libsvn_fs/bdb/bdb-err.c:30:
> subversion/libsvn_fs/fs.h:48: error: parse error before "DB_ENV"
> subversion/libsvn_fs/fs.h:48: warning: no semicolon at end of struct or
> union
> subversion/libsvn_fs/fs.h:51: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:52: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:52: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:53: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:53: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:54: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:54: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:55: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:55: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:56: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:56: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:57: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:57: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:58: error: parse error before '*' token
> subversion/libsvn_fs/fs.h:58: warning: data definition has no type or
> storage class
> subversion/libsvn_fs/fs.h:74: error: parse error before '}' token
> subversion/libsvn_fs/bdb/bdb-err.c: In function `bdb_err_to_apr_err':
> subversion/libsvn_fs/bdb/bdb-err.c:41: error: `DB_LOCK_DEADLOCK'
> undeclared (first use in this function)
> subversion/libsvn_fs/bdb/bdb-err.c:41: error: (Each undeclared
> identifier is reported only once
> subversion/libsvn_fs/bdb/bdb-err.c:41: error: for each function it
> appears in.)
> subversion/libsvn_fs/bdb/bdb-err.c: In function `svn_fs__bdb_dberr':
> subversion/libsvn_fs/bdb/bdb-err.c:52: warning: passing arg 3 of pointer
> to function makes pointer from integer without a cast
> subversion/libsvn_fs/bdb/bdb-err.c: In function `svn_fs__bdb_wrap_db':
> subversion/libsvn_fs/bdb/bdb-err.c:78: error: dereferencing pointer to
> incomplete type
> subversion/libsvn_fs/bdb/bdb-err.c:78: error: dereferencing pointer to
> incomplete type
> make: *** [subversion/libsvn_fs/bdb/bdb-err.lo] Fehler 1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 6 16:53:29 2004

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.