On Fri, Nov 15, 2019 at 08:10:28PM +0100, Ruediger Pluem wrote: > > --- httpd/httpd/trunk/test/travis_run_linux.sh (original) > > +++ httpd/httpd/trunk/test/travis_run_linux.sh Tue Nov 12 12:45:57 2019 > > @@ -1,7 +1,7 @@ > > #!/bin/bash -ex > > ### Installed apr/apr-util don't include the *.m4 files but the > > ### Debian packages helpfully install them, so use the system APR to > > buildconf > > -./buildconf --with-apr=/usr/bin/apr-1-config > > +./buildconf --with-apr=/usr/bin/apr-1-config ${BUILDCONFIG} > > Why don't we use the APR sources we download in travis_before_linux.sh at > least if APR_VERSION is set? > Like > > ./buildconf --with-apr=$HOME/build/apr-${APR_VERSION} ${BUILDCONFIG}
Mainly because of caching - the ~/build/apr-* directories are only created in the case where a cached ~/root/apr-* is not available. It might be useful to try more complicated combinations of buildconf too, though this is simple and works everywhere for now. Regards, Joe