apr

./configure --enable-shared

apr-utl

./configure --enable-shared --with-apr=/usr/local/apr --with-berkeley-db=/usr/local/berkeleydb

subversion

./configure --enable-shared --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-berkeley-db=/usr/local/berkeleydb