apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: problem compiling apr-util-1.1.2 with suse 9.3 x86-64
Date Mon, 09 May 2005 10:45:41 GMT
On Sat, May 07, 2005 at 09:43:58PM +0200, Tommi Mäkitalo wrote:
> Hi,
> 
> some more investigation:
> 
> it looks like the problem is in build/apu-conf.m4. There is a definition for 
> APU_TEST_EXPAT, which looks for existence of /usr/lib/libexpat.la. This file 
> exists in my system (SuSE 9.2 x86-64 - not 9.3 as I mentioned before - sorry 
> - I'm just used to use the most recent version;-).
> 
> APU_TEST_EXPAT looks later in /usr/lib64, but not here, because it was already 
> successful.
> 
> The solution is to try out the library. A minimal program ("int main() {}") 
> linked with /usr/lib/libexpat.la will fail.

It's hard to test linking against a libtool .la library from autoconf. 
But yes, it's a long-standing bug, the whole macro really needs to be
rewritten to test for the presence of the library properly using
autoconf macros, rather than test -r.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28205

joe

Mime
View raw message