--On Monday, March 31, 2003 7:57 PM -0500 Jeff Trawick <[EMAIL PROTECTED]> wrote:

layouts (and thus the Apache binbuild mechanism) have some problems... can
anybody get it to work?

FreeBSD 5.0:

unpack the alpha then
$ cd httpd-2.0.45
$ build/binbuild.sh
...
APR Version: 0.9.3
** Error: unable to find layout Apache
configure failed for srclib/apr
...

The error message is correct. APR doesn't have the layout called "Apache" - I don't think it ever has. I think prior versions silently ignored this condition and just punted - which actually might have worked...


The workaround is to either use a layout that all of them share, or manually expand the layout (via the configure options).

The real fix is to drop the layout option before we do the subdir configure invocations in APR_SUBDIR_CONFIG (untested, but sort of based on how autoconf drops --no-create/--no-recursion):

ap_configure_args=
ap_sep=
for ac_configure_arg in $ac_configure_args
do
 case "$ac_configure_arg" in
   --enable-layout=*)
     continue ;;
 esac
 ap_configure_args="$ap_configure_args$ap_sep'$ac_configure_arg'"
 ap_sep=" "
done

ap_configure_args would be used instead of ac_configure_args in the subdir configure invocation.

And, the way that APR_SUBDIR_CONFIG is called within httpd's configure.in should allow the layout-expanded options to still be passed. -- justin

Reply via email to