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,
- 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?
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?
After trying a variety of things to make subversion find expat during
configuration, I gave up and went into apr-util/xml/expat and did
./configure, make, and make install. This is even with apr and apr-util
unpacked under svn without the --with-apr and --with-apr-util args.
- Is this normal? It's not mentioned in the installation instructions,
perhaps it's because of problems with apr-config and apu-config, but I
wouldn't know where to start looking.
I've discovered makeinfo is needed to build the documentation when svn
is made. I think it's in the texinfo package supplied by fink.
- Is it possible to skip the documentation-building phase when building
svn, in the absence of makeinfo?
- Shouldn't makeinfo be included in the svn install file as a "build
requirement" for svn under OS X, since it doesn't come with darwin?
- Can anyone list for me the things fink needs to provide? If the list
of fink-supplied things is suitable to make fink a build requirement, it
should be listed, with an enumeration of the things you need it to get
for you in order to build svn under OS X. (or is this a bad idea for
some reason?)
- On a process note, should missing documentation during make be changed
to generate a warning instead of a fatal error? (Maybe not, if the
hypothesis is that if the docs don't get built, it's a symptom of more
profound problems and a fatal error is appropriate.)
Here's the process I went through...
I downloaded:
the svn bootstrapping tarball (subversion-r2667)
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/)
the latest distributions of python (2.2.1), Berkeley db (4.0.14), and
neon (0.21.3)
Darwinized versions of autoconf (0.52) and libtool (1.4.2) from
http://www.apache.org/~pier/macosx/
I read all the install docs a bunch of times.
Without messing with autoconf or libtool (called glibtool in Darwin --
libtool is something else), the svn bootstrapping tarball builds and
works fine to check out the latest version of the source (I currently
have revision 2742).
Python 2.2.1 and Berkeley DB 4.0.14 both seem to make and install fine
in isolation, and I haven't messed with them after I installed them the
first time.
I installed the new glibtool and autoconf (from .pkg files), and made
sure my path had /usr/local/bin before /usr/bin.
Building apache:
I unpacked httpd-2.0, and unpacked apr and apr-util into
httpd-2.0/srclib/. In httpd-2.0/, I ran "./buildconf", "./configure
--enable-dav --enable-so --prefix=/usr/local/apache2 --with-dbm=db4
--with-berkeley-db=/usr/local/BerkeleyDB.4.0 --enable-maintainer-mode",
and then make depend, make, and make install.
Apache 2's apachectl starts and serves pages but beyond that I didn't
test it. "expat.h" and "libexpat.la" are in the expected places within
apache but not in /usr/local/lib or /usr/local/include.
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.
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)
At this point I am having failures during make install, because of
missing documentation files, when I tried making subversion in a
separate directory from the source directory (as per the instructions).
Things seemed to be installed but I wasn't sure if important things
didn't get installed as a result.
thanks for your time,
hamilton
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 29 18:46:52 2002