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

Re: Compilation failure

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-06-23 00:55:18 CEST

Sebastian Bergmann <lists@sebastian-bergmann.de> writes:

> ... when httpd-2.0 source dir is in "make clean" / "make distclean"
> state:
>
> libtool: link: cannot find the library
> `/usr/src/httpd-2.0/srclib/apr-util/xml/expat/lib/libexpat.la'
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
>
> Why does it try to link against a library that is located in the source
> directory of Apache 2.0?

Where does libexpat.la occur in your Subversion Makefile?

I suspect it may be connected to your APRUTIL library. What does
/usr/local/apache2/bin/apu-config show with --libs/--ldflags?

>
> sb@wopr-mobile:/usr/src/subversion> cat config.nice
> #! /bin/sh
> #
> # Created by configure
>
> "./configure" \
> "--with-apr=/usr/local/apache2" \
> "--with-apr-util=/usr/local/apache2" \
> "$@"
>
> Subversion compiles okay when I don't call "make clean" or "make
> distclean" after "make" / "make install".

To which libexpat does your installed libsvn_subr link? If you are on
Linux use 'ldd <path_to_installed_libsvn_subr>'.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 23 00:57:21 2002

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