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

can't build with zlib

From: Edward Ned Harvey <svn_at_nedharvey.com>
Date: Tue, 6 Jul 2010 10:14:23 -0400

I have tried everything I can think of, and I can't seem to get svn to build
with the zlib that comes with it. It's always linking against
/usr/lib64/zlib.

 

./configure --prefix=/scratch/eharvey/svn
--with-zlib=/scratch/eharvey/subversion-1.6.12/zlib --enable-static

 

After build:

ldd `which svn` | grep libz

        libz.so.1 => /usr/lib64/libz.so.1 (0x00000034a6900000)

 

Perhaps I should set something like INCLUDE_PATH or LD_LIBRARY_PATH before
building it? Also, if I enable-static, shouldn't it be internal, shouldn't
ldd show me nothing?

 

Here's the reason why I care:

 

The default zlib compression is 5. I edited deflate.c to change this to 1.
I would like to know how much difference there is.

 

Thanks...
Received on 2010-07-06 16:15:32 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.