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

Issue compiling subversion with supplied zlib

From: Matthew Inger <mattinger_at_yahoo.com>
Date: Fri, 8 Aug 2008 07:41:12 -0700 (PDT)

If i try to compile subversion 1.5.1 with an external zlib, and there is no "zlib.h" in my
default include path (ie, in /usr/include).

./configure ... --with-zlib=/path/to/zlib

Then serf fails to compile, stating that it cannot find "zlib.h" include file.

I have worked around the problem by modifying the makefile to add the appropriate
header include and lib include

    -I /path/to/zlib/include
    -L /path/to/zlib/lib

I'm assuming that the serf module simply needs to pay attention to the "--with-zlib"
option, which it currently does not seem to do.

This is running on Redhat EL 5, with the 1.5.1 + deps distribution. This stems from
the fact that I can't seem to find the "zlib-devel" package for EL 5, which contains
the zlib.h header file, so I had to make zlib myself.


"Once you start down the dark path, forever will it
dominate your destiny.  Consume you it will " - Yoda
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-08 16:51:16 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.