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

Re: Trouble building Subversion 1.5.5 with SSL/zlib on Mac OS X

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Tue, 6 Jan 2009 10:39:39 -0700

On Mon, Jan 5, 2009 at 1:51 PM, Michael Zornek <lists08_at_mikezornek.com> wrote:
> So I'm rebuilding my system today and rather than using the built-in svn
> client that comes with Leopard I figured I'd build and install my own copy
> of the latest and greatest (1.5.5) into `/usr/local` like I have for years.
> The process is pretty strait forward but I always enjoyed using [this
> post](http://danbenjamin.com/articles/2006/04/svn_on_os_x) from Dan Benjamin
> as a basis for my madness.

I've not looked at the link but I've been building and maintaining a
Subversion binary for OSX for two years now and this is the script I
successfully use:

http://svnbinaries.open.collab.net/svn/svnbinaries/trunk/packages/osx/build_universal_subversion.sh

Login using guest/guest if you don't have an account on open.collab.net to view.

> The problem. So, like Dan, I would prefer to setup SVN to use zlib and have
> access to SSL and so I've tried his config line.
>
> ./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib
>
> Doing the config with prefix only works fine but SSL and zlib both have
> their own issues.

The reason you're potentially having issues is because Subversion's
deps need to be built with zlib and openssl support to work. Not
knowing how you're building Subversion's deps, I don't want to
speculate. Look at the script I linked to above to see all the places
openssl is configured when building Subversion and its deps. (You
won't see me explicitly specifying zlib all the time because
Subversion and its deps locate Leopard's zlib just fine.)

> For the latter I get "configure: error: --with-zlib requires an argument."
> and when trying the ssl flags I get "WARNING: Unrecognized options:
> --with-openssl" and later at the end
>
> Configuring Serf...
> configure: error: --with-openssl requires a path
> configure failed for serf
>
> :(

Subversion isn't configured with the "--with-openssl" option and the
"--with-ssl" option only works if you're using the subversion-deps
tarball and having Subversion build the deps for you.

> I suppose I could move on and use the simple config but I'm sure compression
> and ssl will help me in the long run. Perhaps these things are built in now?
> Perhaps I'm a moron and am missing the obvious? (I'm not a wiz on the
> command line by any means.) I've done a bit of Googling and searching the ML
> archives to no obvious avail. Anyways, if you have any suggestions let me
> know. Thanks.

I can appreciate wanting to build your own binaries but all the work
you're struggling through has already been done by many. The
Subversion binary I maintain might be beneficial to you. It's
universal, built with 32-bit and 64-bit CPU instruction sets and it
includes all Subversion maintained language bindings (Java, Perl,
Python and Ruby), repository data stores (BDB and FSFS) and the server
modules (svnserve and Apache). It's even packaged in a nice Apple
Installer package for easy distribution. Not sure if that is enough
to persuade you but at least I mentioned it. If you're interested,
you can download the binary here:

http://www.open.collab.net/downloads/community/

1.5.5 should be out later today for download.

-- 
Take care,
Jeremy Whitlock
http://www.thoughtspark.org
Received on 2009-01-06 20:47:29 CET

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