Skip to content

Instantly share code, notes, and snippets.

@yano3
Created January 9, 2013 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yano3/4491433 to your computer and use it in GitHub Desktop.
Save yano3/4491433 to your computer and use it in GitHub Desktop.
subversion 1.7.8 configure error
configure: Apache Portable Runtime (APR) library configuration
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'
or
get it with SVN and put it in a subdirectory of this source:
svn co \
http://svn.apache.org/repos/asf/apr/apr/branches/1.3.x \
apr
Run that right here in the top level of the Subversion tree.
Afterwards, run apr/buildconf in that subdirectory and
then run configure again here.
Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:
svn co \
http://svn.apache.org/repos/asf/apr/apr-util/branches/1.3.x \
apr-util
configure: error: no suitable apr found
@asp2chief
Copy link

sudo apt-get install libaprutil1-dev

You don't seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL. We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end. You can find the latest version of
Berkeley DB here: http://www.oracle.com/technology/software/products/berkeley-db/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment