[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Build script: why does this fail

From: Bruce Atherton <bruce_at_callenish.com>
Date: 2002-02-21 03:22:14 CET

I am developing an Ant build script for Subversion. What it does is suck
down the code for subversion, apr, apr-util, neon (by version or from CVS), berkeley DB, and httpd 2.0 (by package or from CVS).

What it doesn't do is build Subversion. It runs "autogen.sh" alright, but when it goes on to "configure", I get the following message:

     [exec] configure: Apache Portable Runtime (APR) library configuration
     [exec] checking for APR... yes
     [exec] configure: Apache Portable Runtime Utility (APRUTIL) library configuration
     [exec] checking for APR-util... reconfig
     [exec] configuring package in apr-util now
     [exec] loading cache /dev/null
     [exec] configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
     [exec] build directory, or an apr-config file.
     [exec] checking for APR... configure failed for apr-util

Manually running configure after this, I get the same message:

configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... reconfig
configuring package in apr-util now
loading cache /dev/null
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.
configure failed for apr-util

Can anyone give me some clues on what is going wrong here?

Another question about automated builds: the current suggestion is that all the Subversion libraries be removed from /usr/local/lib before building a new client. That makes me very nervous, though. What happens if the build fails? Am I going to hose the client by doing this?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.