APR-util with APR - configure error on Linux
I've got a strange problem when configuring APR and APR-util for use with Subversion. I have compiled APR to /usr/local/apr and now I'm trying to compile APR-util with the following configure line:
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/ --with-berkeley-db=/usr/local/BerkeleyDB.4.8/
But this gives the error:
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.
Doing a quick check in /usr/local/apr shows i have the following directories:
bin build-1 include lib
I've also tried directly specifying the apr-config file, e.g --with-apr=/usr/local/apr/apr-1-config, but this makes no difference.
Anyone have any ideas?