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

Re: questions building svn under OS X w/o fink

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-29 20:15:04 CEST

"Hamilton Link" <helink@sandia.gov> writes:

> I've read all the install files and run through the process a number
> of times, but I still can't quite complete the whole svn build. I
> believe part of the problem is that I'm missing a few fink-supplied
> things, but I'd rather not install all of fink, I don't have the room.
> Any help getting the svn server the rest of the way built would be
> appreciated. I've tried to provide detailed questions and a
> description of what I've managed to do so far (sorry for any excess
> verbosity). In particular,

It's hard to diagnose problems without being given explicit error

> - First things first: are the latest snapshot tarballs for Apache's
> httpd-2.0, apr, and apr-util (I got the 9am July 26th snapshots from
> http://cvs.apache.org/snapshots/ when I was last building everything)
> equivalent to checking the head out of CVS as far as svn is concerned,
> or not?

I don't use them, but I assume they should work.

> The only way I can get through svn's configuration is to include the
> apr and apr-util directories in the subversion directory alongside
> neon and build and install expat explicitly in advance, even though I
> built apr and apu with httpd 2.0. I thought the resulting
> apache2/bin/apr-config and apu-config files were evidence of a
> successful build alongside apache.
> - Is there a way to verify apr and apr-util were built properly with
> apache in a manner suitable for use by svn?
> - When I build svn, do I need to supply more information than --with-
> apr=/usr/local/apache2 and --with-apr-util=/usr/local/apache2 to make
> this work?

That should be sufficient. Given --with-apr=<foo> the script looks for
the file <foo>/bin/apr-config, does this file exist? Can you run

$ <foo>/bin/apr-config --libs

Do you have any other apr-config files in your PATH?


> Building svn:
> I unpacked neon in the checked-out subversion code directory and "mv
> ./neon-0.21.3 ./neon" to rename it.
> After trying a variety of things to make neon find expat during
> configuration, I gave up and went into apr-util/xml/expat and did
> ./configure, make, and make install. I also unpacked apr and apr-util
> alongside neon in svn, but am not sure that bought me much more.

You don't have to build neon within the subversion tree. Can you
configure, build and install neon directly? Is the problem that you
cannot configure neon in the subversion tree, or that you cannot
configure neon at all?

> Then I ran "sh ./autogen.sh", cd ../obj, "./svn/configure --with-
> apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2
> --with-berkeley-db=/usr/local/BerkeleyDB.4.0
> --enable-maintainer-mode", and make clean, make, and make
> install. (I'm building in a separate directory as per the instructions
> so I can start over repeatedly)

A typo? I assume "./svn/configure" should be "../svn/configure". Add
--with-neon=<foo> if you build and install neon first.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 29 20:15:42 2002

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.