Reproducible: Always RapidSVN fails to build with apr or apr-util version 1.2.8 Error: checking for APR... not found configure: error: APR is required. Try --with-apr-config. Similar message is generated by not having apr-util-0.9.12. kyle@localhost ~ $ emerge --info Portage 2.1.2.1 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20.1 x86_64) ================================================================= System uname: 2.6.20.1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Mar 2007 22:00:03 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -ftree-vectorize -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -ftree-vectorize -msse3 -pipe" DISTDIR="/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/kports" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 ao audiofile bash-completion bitmap-fonts bzip2 cairo cdb cddb cdinstall cdparanoia cdr cli cups curl dvd dvdread encode exif fam ffmpeg firefox flac fortran ftp gif ginac glut gtk gtk2 iconv imagemagick imlib isdnlog javascript jpeg ldap libg++ lm_sensors lua mad memlimit midi mikmod mmap mp3 mpeg mplayer msql mssql ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl oss pam pcre pdf perl png ppds pppd python readline reflection ruby sdl session speex spell spl ssl svg symlink tcpd truetype truetype-fonts type1-fonts unicode usb vcd videos vim-syntax vorbis xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Added a depends for apr-util-0.9.12 (which pulls in apr) and the explicit configure option for apr-config. Not sure about the requirements of newer versions of rapidsvn upstream.