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

Re: Help with compiling

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 6 Apr 2013 19:31:39 +0300

Maureen Barger wrote on Sat, Apr 06, 2013 at 08:17:17 -0400:
> I am compiling Apache 2.4 and SVN 1.7 for the first time. I am getting
> the following error:
> ./apachectl configtest
> httpd: Syntax error on line 147 of /etc/apache2/conf/httpd.conf:
> Cannot load modules/mod_dav_svn.so into server:
> /etc/apache2/modules/mod_dav_svn.so: undefined symbol: ap_log_error
>

Looking a bit deeper, ap_log_error is implemented as a macro, so
mod_dav_svn shouldn't be looking it up as a symbol.

https://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.4/include/http_log.h

I'm not quite sure why that would be happening. Did you compile svn and
httpd using the same C compiler (our configure would warn you if not)?
Is AP_HAVE_C99 defined? Did svn's build use the right copy of http_log.h?

> I installed all required libraries using the autogen.sh script
> I placed the apr and apr-util within the src of apache.
>
> I built apache first.
> ./configure --enable-dav --enable-so --enable-ssl
> --prefix=/etc/apache2 --with-included-apr --with-included-apr-util
> --enable-dav-fs --enable-dav-lock
>
> Then I built svn.
> ./configure --with-apr=/etc/apache2 --with-apr-util=/etc/apache2
> --with-serf=/usr/local/serf --with-httpd
> --with-apxs=/etc/apache2/bin/apxs
> --with-apache-libexecdir=/etc/apache2/modules
>
> What am I missing?
> Thanks.
Received on 2013-04-06 18:32:22 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.