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

Re: Having SVN use its built in sqlite3 version

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Mon, 4 May 2009 15:01:47 -0500

On May 4, 2009, at 2:47 PM, Adam Bruss wrote:

> Hello all,
>
> I want to upgrade our SVN server from 1.5 to 1.6. When I make the
> SVN source it expresses frustration about sqlite.
>
> /root/Desktop/subversion-1.6.1/subversion/libsvn_subr/.libs/
> libsvn_subr-1.so: undefined reference to `sqlite3_open_v2'
> /root/Desktop/subversion-1.6.1/subversion/libsvn_subr/.libs/
> libsvn_subr-1.so: undefined reference to `sqlite3_config'
> /root/Desktop/subversion-1.6.1/subversion/libsvn_subr/.libs/
> libsvn_subr-1.so: undefined reference to `sqlite3_initialize'
> /root/Desktop/subversion-1.6.1/subversion/libsvn_subr/.libs/
> libsvn_subr-1.so: undefined reference to `sqlite3_prepare_v2'
> /root/Desktop/subversion-1.6.1/subversion/libsvn_subr/.libs/
> libsvn_subr-1.so: undefined reference to `sqlite3_threadsafe'
> collect2: ld returned 1 exit status
> make: *** [subversion/svn/svn] Error 1
>
> I want to use SVN's built in sqlite3. What steps do I take to get
> SVN 1.6 to install correctly from source from here?

Have you looked at the INSTALL file? Quoting:

       Subversion (starting with version 1.6) requires SQLite version
       3.4.0 or above, and you can meet this dependency several ways:
         * Use an SQLite amalgamation file.
         * Specify an SQLite installation to use.
         * Let Subversion find an installed SQLite.

       To use an SQLite-provided amalgamation, just drop sqlite3.c into
       Subversion's sqlite-amalgamation/ directory, or point to it
with the
       --with-sqlite configure option. This file also ships with the
Subversion
       dependencies distribution, or you can download it from SQLite:

           http://www.sqlite.org/download.html

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2059556

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-04 22:02:43 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.