ubuntu - install subversion from source - missing APR
To compile a program depending on a library you generally need the developer package.
In your situation you need to do: apt-get install libapr1-dev
. And don't forget to repeat it with apt-get install libaprutil1-dev
.