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

Re: Error in compiling Subversion from source code

From: CW <ribcrib_at_gmail.com>
Date: Fri, 27 Mar 2009 21:59:07 -0500

Hyrum K. Wright wrote:
> On Mar 26, 2009, at 7:46 PM, CW wrote:
>> Bogdan Cristea wrote:
>>> On Wednesday 25 March 2009 15:48:45 you wrote:
>>>> I recently downloaded, compiled, and installed sqlite first and then
>>>> Subversion. However, whenever I try to start Apache (2.2.11), I
>>>> get the
>>>> following error. Does anyone have an idea what could be causing this
>>>> problem?
>>>> httpd: Syntax error on line 62 of /usr/local/apache2/conf/httpd.conf:
>>>> Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server:
>>>> /usr/local/lib/libsvn_subr-1.so.0: undefined symbol: sqlite3_config
>>>> ------------------------------------------------------
>>>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1
>>>> 415607
>>>> To unsubscribe from this discussion, e-mail:
>>>> [users-unsubscribe_at_subversion.tigris.org].
>>> Something went wrong when compiling mod_dav_svn.so against sqlite.
>>> Verify
>>> which version of sqlite is recommended by svn 1.6. Try to compile
>>> sqlite,
>>> then svn.
>> I downloaded the latest version of sqlite's src
>> "sqlite-amalgamation-3.6.11.tar.gz" and svn's
>> "subversion-1.6.0.tar.gz". I "configure"d , compiled sqlite (make),
>> and installed it (make install). I then "configure"d from subversion
>> which it did find sqlite. I compiled (make) and then installed (make
>> install). Everything went ok without errors. It's when I try
>> starting apache with the included
>> LoadModule dav_svn_module modules/mod_dav_svn.so
>> LoadModule authz_svn_module modules/mod_authz_svn.so
>> that I get the error.
> Can you show us your configure line? Better yet, can you give a
> complete list of the steps you took in script form? Does config.log
> show that configure found the amalgamation?
> (For the curious, it looks like the version of sqlite which APR is
> compiled against, and is linking in, and the version which Subversion
> is linking against are different.)
> -Hyrum
./configure --with-ssl --with-swig=/usr/local
PYTHON=/usr/local/bin/python2.6 --enable-shared --with-neon=/usr/local

I was reading the INSTALL file with SVN and found it talking about
taking the sqlite3.c file from the sqlite source package and puting
inside svn's source package in a folder called, "sqlite-amalgamation".
I tried it and now I don't get the error anymore.
Why did this fix it? Why did it not compile against sqlite that I
installed without the c source file?


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-28 22:37:14 CET

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.