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.

Reply via email to