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

Re: problem building 1.8.1

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 30 Jul 2013 10:57:57 +0100

Steve Kelem <steve_at_kelem.net> writes:

> As it says in the configure script below, it's sqlite 3.7.15

That configure option doesn't tell us which version of SQLite is being
used, it just controls the minimum version that will cause Subversion to
generate a run-time error.

You appear to have software in /usr, /usr/local, /usr/local/apache, /opt
and possibly other locations. We have no way of knowing which version
of SQLite was detected by configure, or which version of SQLite is being
used at runtime unless you tell us.

> I uninstalled sqlite 2.x before re-running the configure script, so there
> should be only one sqlite3 installed. I have no idea what an SQLite
> amalgamation is. Tell me more.

The SQLite amalgamation is an optional SQLite source code located in the
Subversion source code directory.

> I configured with:
> % setenv CC "gcc -m64 -std=gnu99"
> % ./configure \
> --prefix=/usr/local \
> --with-openssl \
> --with-junit=/opt/java/junit/junit4.11/junit-4.11.jar \
> --with-apr=/usr/local/src/apr-1.4.8 \
> --with-apr-util=/usr/local/src/apr-util-1.5.2 \
> --with-apxs=/usr/local/apache2/bin/apxs \
> --with-berkeley-db \
> --enable-bdb6 \
> --enable-sqlite-compatibility-version=3.7.15
> It could be some sort of SQLite version mismatch. Which version of
> SQLite is installed? Do you have multiple installations of SQLite? Are
> you using an SQLite amalgamation in the Subversion source tree?
> Which version of SQLite do you think you are using? Does the expected
> SQLite library show up when you run ldd?
> libtool --mode=execute ldd subversion/tests/libsvn_client/client-test

I suspect some sort of SQLite incompatibility. Check the version used
at runtime as shown above. Is that the version detected by configure?
I see a "-m64" option, so perhaps it is a 32/64 bit problem?

You have a very complicated configure command. You have a local apache
install but you appear to be pointing Subversion at the apr/apr-util
source trees. Subversion and Apache should use the same apr/apr-util so
it is better to get Subversion to use the installed apr/apr-util that
apache is using. Are you really using BDB-6?

Philip Martin | Subversion Committer
WANdisco | Non-Stop Data
Received on 2013-07-30 11:58:39 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.