You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Bill Perkins <wr...@iag.net> on 2002/03/05 22:55:54 UTC
Silly question about flood and APR...
building on a Slackware 8.0 machine, downloaded all the stuff (flood, apr,
apr-util), can't seem to get it to configure properly- errors out with:
checking for APR... reconfig
configure: error: flood requires a libtool-enabled APR.
Any ideas on why it should do this? I've gone into the apr/ and apr-util/
directories, run buildconf and configure in both of them, all with the
same results. Help!
Re: Silly question about flood and APR...
Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Tue, Mar 05, 2002 at 04:55:54PM -0500, Bill Perkins wrote:
> building on a Slackware 8.0 machine, downloaded all the stuff (flood, apr,
> apr-util), can't seem to get it to configure properly- errors out with:
>
> checking for APR... reconfig
> configure: error: flood requires a libtool-enabled APR.
>
> Any ideas on why it should do this? I've gone into the apr/ and apr-util/
> directories, run buildconf and configure in both of them, all with the
> same results. Help!
If you get the absolute latest APR and flood and rerun buildconf,
this problem should be fixed. I reworked how APR handles its
installation of libtool.
Please let us know if you have any further problems.
Thanks! -- justin
Re: Silly question about flood and APR...
Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Tue, Mar 05, 2002 at 04:55:54PM -0500, Bill Perkins wrote:
> building on a Slackware 8.0 machine, downloaded all the stuff (flood, apr,
> apr-util), can't seem to get it to configure properly- errors out with:
>
> checking for APR... reconfig
> configure: error: flood requires a libtool-enabled APR.
>
> Any ideas on why it should do this? I've gone into the apr/ and apr-util/
> directories, run buildconf and configure in both of them, all with the
> same results. Help!
Oops, yeah, that's a bug in our build system. I do plan on cleaning
that up. The issue is that APR doesn't install its libtool. If you
are using the ./apr layout (i.e. build apr in place), you can apply
the following patch. I hope this helps. -- justin
Index: configure.in
===================================================================
RCS file: /home/cvs/httpd-test/flood/configure.in,v
retrieving revision 1.18
diff -u -r1.18 configure.in
--- configure.in 27 Feb 2002 04:44:50 -0000 1.18
+++ configure.in 6 Mar 2002 17:58:05 -0000
@@ -112,6 +112,8 @@
if test -x "`$apr_config --prefix`/build/libtool"; then
LIBTOOL_PATH="`$apr_config --prefix`/build/libtool"
+elif test -x "$top_builddir/apr/libtool"; then
+ LIBTOOL_PATH="$top_builddir/apr/libtool"
else
AC_ERROR([flood requires a libtool-enabled APR.])
fi
Re: Silly question about flood and APR...
Posted by Aaron Bannert <aa...@clove.org>.
On Tue, Mar 05, 2002 at 04:55:54PM -0500, Bill Perkins wrote:
> building on a Slackware 8.0 machine, downloaded all the stuff (flood, apr,
> apr-util), can't seem to get it to configure properly- errors out with:
>
> checking for APR... reconfig
> configure: error: flood requires a libtool-enabled APR.
>
> Any ideas on why it should do this? I've gone into the apr/ and apr-util/
> directories, run buildconf and configure in both of them, all with the
> same results. Help!
I'm not exactly sure why it would do that, but you might try configuring
and compiling apr/apr-util before running flood's configure. If you're
still having problems after that I can look into it more.
-aaron