[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: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 27 Mar 2009 08:12:34 -0500

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

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-27 14:13:28 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.