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

Linking error with --apxs & separately build apr (Re: configure doesn't see mod_dav)

From: Jani Averbach <jaa_at_cc.jyu.fi>
Date: 2003-04-16 20:58:01 CEST

On Wed, 16 Apr 2003, Greg Stein wrote:

This is an lame bug/error report, I try produce more specific (and/or
solution also) during easter.

> Just drop the --with-apache line. The --with-apxs will point the system at
> your installed Apache, and a dynamically loadable mod_dav_svn.so will be
> built for you.

If you build apr and apr-utils separately and after that httpd and svn
against them, you will get linking error during link phase of
mod_dav_svn.so because subversion try find libtool from httpd's install
directory when in fact it is laying in apr's <inst_root>/build-directory.

I did a quick fix, and made symbolic link:
httpd/build/libtool -> apr/build/libtool,
after that linking and make check (dav) passed happily. However I am not
sure if it is correct solution to use apr's libtool to link
mod_dav_svn.so.

I don't know if this is a fault in apr, httpd or svn.

httpd: 2.0.45
apr: cvs (20030410T170443Z)
apr-util: cvs (20030401T175018Z)
svn: 5598
OS: GNU/Linux

BR, Jani

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 16 20:58:51 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.