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

Re: Configuring Subversion with Berkeley DB Error: configure: error: Berkeley DB 4.0.14 or 5.x wasn't found

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 12 Feb 2015 21:45:51 +0100

On 12.02.2015 21:12, kay wrote:
> I have just done what you suggested as in unzipping the SQLite-amalgamation
> zip file in the source directory of the subversion and rename the directory
> the SQLite-amalgamation. I am now getting below error:
>
> /bin/bash /dhhs1t/3rdparty/tools/svn/subversion-1.8.11/libtool --tag=CC
> --silent --mode=compile gcc -std=c89 -DSOLARIS2=10
> -D_POSIX_PTHREAD_SEMANTICS -D_R EENTRANT
> -D_LARGEFILE64_SOURCE -Wall -Wpointer-arith -Wwrite-strings -Wshadow
> -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-protot
> ypes -Wmissing-declarations -Wno-multichar -Wredundant-decls
> -Wnested-externs -Winline -Wno-long-long -Wno-format-nonliteral
> -Wno-system-headers -Wold-sty le-definition -Wextra-tokens
> -g3 -fno-omit-frame-pointer -fno-inline -DSVN_DEBUG -DAP_DEBUG
> -I./subversion/include -I./subversion -I/usr/local/apr/inc
> lude/apr-1 -I/usr/local/apr/include/apr-1
> -I/usr/local/BerkeleyDB.5.3/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gnom
> e-keyring-1 -I/usr/local/include/serf-1
> -I/dhhs1t/3rdparty/tools/svn/subversion-1.8.11/sqlite-amalgamation -o
> subversion/libsvn_subr/sqlite3wrapper .lo -c
> subversion/libsvn_subr/sqlite3wrapper.c
> In file included from subversion/libsvn_subr/sqlite3wrapper.c:54:
> /dhhs1t/3rdparty/tools/svn/subversion-1.8.11/sqlite-amalgamation/sqlite3.c:14078:27:
> #if with no expression

It looks like the SQLite devs arbitrarily changed their feature tests
from #ifdef to #if between 3.7.x and 3.8.x.

Remove the sqlite-amalgamation directory from your source tree, run
./get-deps.sh sqlite, rerun configure and rebuild everything.

-- Brane
Received on 2015-02-12 21:46:23 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.