On Wed, Jun 23, 2004 at 04:01:18AM +0200, Graham Leggett wrote: > Hi all, > > Been bashing away at getting apr-util to build, but it seems still too > tightly coupled with apr to be built separately. > > There are two problems with the build so far. > > The files apr_common.m4, gen-build.py, make_exports.awk, install.sh and > config.sub from apr are needed by apr-util. apr-util seems to assume > these files to be in the apr source tree in the ./build directory, which > isn't available when apr-util is built from RPM.
gen-build.py, apr_common.m4 and config.sub are surely only needed if you run ./buildconf? That shouldn't be necessary for apr-util. > The second problem is in ./configure and Makefile.in. The build scripts > looks for the above files in the source code directory for apr using this: > > configure: APR_SOURCE_DIR="`$apr_config --srcdir`" > Makefile.in: $(AWK) -f @APR_SOURCE_DIR@/build/make_var_export.awk > $(HEADERS) I'd forgotten there were so many things which broke... for the Fedora apr package we patch `apr-config --srcdir` to print ${libdir}/apr. joe