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

Re: "subversion requires zlib" problem and resolution

From: Marcus Rueckert <darix_at_web.de>
Date: 2006-12-17 01:10:08 CET

moin john,

John Peacock wrote:
> A cautionary tale about using system supplied Apache/APR/APR-UTIL RPMS, sent to
> the list so that someone else won't lose hair over the problems I had...
>
> I'm in the process of rebuilding my main dev machine after a failed system
> upgrade and I got to the next step which was rebuilding Subversion. I
> downloaded the 1.4.2 tarballs and unpacked both the main one and the deps one
> into the same directory, then deleted apr/ and apr-util/, intending to use the
> ones supplied with my distro (OpenSUSE 10.2). I went through the usual
> incatations and got stopped cold by the error:
>
> subversion requires zlib
>
> which made no sense. I checked, and sure enough zlib was installed. I unpacked
> the deps again and installed the zlib portion manually. Still no happiness. I
> checked to make sure that ldconfig had does the appropriate aliasing (which it had).
>
> Finally, fed up with this, I actually read through the config.log and lo and
> behold, the linker was failing to find mysqlclient_r when building the test
> binary to make sure zlib included inflate! It seems that SUSE, in their
> infinite wisdom, went and included mysql support in apr-util, and configure was
> too daft to notice I hadn't installed mysql-dev (to get the mysql client libraries).
>
> Once I installed mysql-dev, all was well with the world again, and I can
> continue configuring my system. I don't think this is anything that the
> Subversion project can direct address, short of smartening up configure to be
> able to parse the actual error message from the linker, rather than just
> throwing the next test error out for grins...

it seems you use APR from Apache project in the buildservice. it is
correct that we added mysql support there for testing it. the normal
libapr1 or libapr-util1 packages in 10.2 do not link mysql. The latest
rpms from the url above should have mysql support moved into a shared
object so your problem should be gone aswell.

if you still see the issue with the rpms from feel to contact me.

hope this helps,

        darix

[1] http://software.opensuse.org/download/Apache/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 17 01:10:24 2006

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.