I checked out the most recent source code from:
svn checkout http://svn.collab.net/repos/svn/trunk subversion

I then ran the command: sh ./autogen.sh
Then I ran ./configure.

The configure spit out the following messages:
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

So I performed the following; within my subversion, top-level, directory:
svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \

svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \

Then I went into each subdirectory and ran the buildconf script
#cd apr
# ./buildconf
# cd ..
#cd apr-util
# ./buildconf
Then ran the ./configure again and got the following errors:
# ./configure --with-apr=/disk01/subversion/apr/build/ --with-apr-util=/disk01/subversion/apr-util/
configure: Configuring Subversion 1.7.0
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
./configure: line 3003: AC_PROG_SED: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for egrep... grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: the --with-apr parameter is incorrect. It
must specify an install prefix, a build directory, or an apr-config file.

I don't know how to rectify the ./configure error so that I can get a clean compile.
Can someone shed light?  Thanks

System Engineer Sr. Professional