You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joe Orton <jo...@manyfish.co.uk> on 2004/03/19 01:05:10 UTC
Re: AIX 5.1 client segfault
On Mon, Jan 12, 2004 at 01:45:38PM -0600, Travis wrote:
> I'm trying to build just the client on AIX 5.1.
> After a largely uneventful configure and make (I had to make a couple
> alterations),
> I'm getting a set fault where an XML parser is supposed to be built.
Thought I'd look into this: the problem is due to the SVN-specific hack
in the neon configure script to support building against the libexpat.la
from apr-util... libneon.la does not get linked against against
libexpat.la in this case currently, which is a fatal error on AIX.
If you used an out-of-tree shared expat it would work correctly; it's
only for the in-tree expat from apr-util that it will fail.
To fix it without using --disable-shared, you can edit the LIBS line in
neon/src/Makefile to add libexpat.la along with anything else specified
there:
LIBS = ../../apr-util/xml/expat/lib/libexpat.la
I'll check if this is safe to do by default for the next neon release
too.
joe
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: AIX 5.1 client segfault
Posted by Travis P <sv...@castle.fastmail.fm>.
On Mar 18, 2004, at 7:05 PM, Joe Orton wrote:
> On Mon, Jan 12, 2004 at 01:45:38PM -0600, Travis wrote:
>> I'm trying to build just the client on AIX 5.1.
>> After a largely uneventful configure and make (I had to make a couple
>> alterations),
>> I'm getting a set fault where an XML parser is supposed to be built.
>
> Thought I'd look into this: the problem is due to the SVN-specific hack
> in the neon configure script to support building against the
> libexpat.la
> from apr-util... libneon.la does not get linked against against
> libexpat.la in this case currently, which is a fatal error on AIX.
>
> If you used an out-of-tree shared expat it would work correctly; it's
> only for the in-tree expat from apr-util that it will fail.
>
> To fix it without using --disable-shared, you can edit the LIBS line in
> neon/src/Makefile to add libexpat.la along with anything else specified
> there:
>
> LIBS = ../../apr-util/xml/expat/lib/libexpat.la
>
> I'll check if this is safe to do by default for the next neon release
> too.
Fantastic. Thanks for figuring this out! I'll give your suggestions a
try the next time I build.
-Travis
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org