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

reference to apr-util-lexpat

From: Bob Gustafson <bobgus_at_rcnChicago.com>
Date: 2003-01-20 20:07:05 CET

This problem was mentioned back in November, but the thread petered out
before a good resolution appeared in the archives (see below)

The problem was/is a reference to a nonexistent library/file in the
httpd-2.0 source tree - srclib/apr-util-lexpat

I rebuilt httpd-2.0 (2.1) using files from cvs, prior to that I did a 'make
extraclean' on my httpd tree as recommended by Jeff Trawick on the dev@apr
list.

I did more or less the same thing on the svn tree - make extraclean,
autogen.sh, ./configure (with args), and then 'make'. It errored out
saying that it could not find 'srclib/apr-util-lexpat' in the httpd source
tree (why it should be looking there is a puzzle too - should only look in
/usr/local/apache2/* - yes?)

In the svn Makefile, the reference showed up in

SVN_APRUTIL_LIBS = /usr/local/apache2/lib/libaprutil-0.la -lgdbm -ldb
/usr/local/src/apache/httpd-2.1/httpd-2.0/srclib/apr-util-lexpat

I whacked off the odd reference, and re-ran the make - predictably, it
objected to the absence of certain symbols - such as 'XML_ErrorString'

I then searched for that symbol in all of the libraries (used by svnadmin)
and found it in /usr/local/apache2/lib/libexpat.so.0

Adding that library to the SVN_APRUTIL_LIBS definition in Makefile:

SVN_APRUTIL_LIBS = /usr/local/apache2/lib/libaprutil-0.la -lgdbm -ldb
/usr/local/apache2/lib/libexpat.so.0

Now the svn 'make' works, the 'make check' works (takes forever though).

Don't know why the SVN_APRUTIL_LIBS definition goes wrong though.

BobG

>Subject: RE: apu-config (was Re: configure error, solaris8, cc)
>
>From: Sander Striker (striker_at_apache.org)
>Date: 2002-11-14 21:41:53 MET
>
>
>> From: Sander Striker [mailto:striker_at_apache.org]
>> Sent: 12 November 2002 18:53
>
>>> From: Jani Averbach [mailto:jaa_at_cc.jyu.fi]
>>> Sent: 12 November 2002 18:17
>>
>>> On 12 Nov 2002, Karl Fogel wrote:
>>>
>>>> Whups. It really does this
>>>>
>>>> /usr/src/httpd-2.0.43/srclib/apr-util-lexpat
>>>> ^^^^^^^^^^^^^^^
>>>>
>>>> ? Yuck :-).
>>>>
>>>> Can you file an issue for this? (And do you have any idea what's
>>>> causing it? It might be easy to track down...)
>>>>
>...
>>
>> apu-config.in was patched sometime ago to get it to work on darwin.
>Unfortunately
>> it broke on other platforms (mine included). I'll go and fix this
>now...
>
>I can't seem to reproduce this anymore. I switched platforms a few weeks
>ago, so that must be it, since there were no code changes to
>apr-util/apu-config.in
>that touched this codepath. Bah.
>
>Jani, could you please sent me your apu-config?
>
>Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 20 20:07:37 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.