Subversion dav problem

chielsen

Verified User
Joined
Jul 26, 2004
Messages
62
I want to install subversion.

I did everything the INSTALL docs told me but i get this error:

'undefined symbol: dav_xml_get_cdata'

When i search on google, almost everytime the answer is to configure apache with --enable-dav and --enable-dav-fs

Well i did that but it doesn't seems to work. I use the DirectAdmin customapache script.

Code:
./configure \
        --enable-ssl \
        --prefix=/etc/httpd \
        --exec-prefix=/etc/httpd \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --sysconfdir=/etc/httpd/conf \
        --enable-module=all \
        --enable-rewrite \
        --enable-suexec \
        --with-suexec-docroot=/ \
        --with-suexec-caller=apache \
        --with-suexec-userdir=public_html \
        --with-suexec-logfile=/var/log/httpd/suexec_log \
        --with-suexec-bin=/usr/sbin/suexec \
        --includedir=/usr/include/apache \
        --libexecdir=/usr/lib/apache \
        --datadir=/var/www \
        --localstatedir=/var \
        --disable-auth-dbm --disable-auth-db \
        --enable-dav=shared \
        --enable-dav-fs=share

It ran this 3 times. Installed subversion again etc. Every time I get the same error.
There should be a mod_svn.so file but I can't find that one anywhere on my filesystem.

I have apache2, so I run .build apache_2. The configure statement above is in the configure.apache_2 file.
So everything should be working, but it seems dav doesn't get installed.

What can i do??
 
Last edited:
I used just "--enable-dav \" in the configure.apache_2 file and mod_dav was working almost right away (you have to set the lock file location and other httpd.conf changes).

You say you don't have mod_svn.so laying around, maybe that is the problem. You have to compile it yourself and store it in the right place before Apache can find it after enabling the module in httpd.conf.
 
No the problem was my configure statment was not correct, but the installer never let me know.
But when i fixed the configure statement it worked!
 
Back
Top