apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blair Zajac <bl...@orcaware.com>
Subject Something just broke apr-util
Date Thu, 06 Mar 2003 00:10:45 GMT
I just did a cvs update on apr, apr-util and httpd-2.0, on the
APACHE_2_0_BRANCH, and now can't compile httpd2.  I did an update
several hours ago and everything compiled just fine.

Reverting to yesterday's apr-util/configure.in and apr-util/build/apu-conf.m4
fixes the problem.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



Configuring Apache Portable Runtime Utility library...

checking for APR-util... reconfig
configuring package in srclib/apr-util now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for working mkdir -p... yes
APR-util Version: 0.9.2
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
/export/home1/blair/Code/Apache/2.0/h/srclib/apr-util/configure: line 1: cd:
Usage:: No such file or directory


and then running make:


make[3]: Leaving directory `/export/home1/blair/Code/Apache/2.0/h/srclib/apr'
make[2]: Leaving directory `/export/home1/blair/Code/Apache/2.0/h/srclib/apr'
Making all in apr-util
make[2]: Entering directory `/export/home1/blair/Code/Apache/2.0/h/srclib/apr-ut
il'
Makefile:23: /export/home1/blair/Code/Apache/2.0/h/srclib/apr-util/build/rules.m
k: No such file or directory
make[2]: *** No rule to make target `/export/home1/blair/Code/Apache/2.0/h/srcli
b/apr-util/build/rules.mk'.  Stop.
make[2]: Leaving directory `/export/home1/blair/Code/Apache/2.0/h/srclib/apr-uti
l'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home1/blair/Code/Apache/2.0/h/srclib'
make: *** [all-recursive] Error 1


The last line of this code in httpd-2.0/srclib/apr-util/configure
looks odd with no place to cd to:

# Check whether --with-apr or --without-apr was given.
if test "${with_apr+set}" = set; then
  withval="$with_apr"

    if test "$withval" = "no" || test "$withval" = "yes"; then
      { { echo "$as_me:$LINENO: error: --with-apr requires a directory to be pro
vided" >&5
echo "$as_me: error: --with-apr requires a directory to be provided" >&2;}
   { (exit 1); exit 1; }; }
    fi

    if $TEST_X "$withval/bin/apr-config"; then
      apr_found="yes"
      apr_config="$withval/bin/apr-config"
    elif $TEST_X "$withval/apr-config"; then
      apr_found="yes"
      apr_config="$withval/apr-config"
    elif $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
      apr_found="yes"
      apr_config="$withval"
    fi

        if test "$apr_found" != "yes"; then
      { { echo "$as_me:$LINENO: error: the --with-apr parameter is incorrect. It
 must specify an install prefix, a
build directory, or an apr-config file." >&5
echo "$as_me: error: the --with-apr parameter is incorrect. It must specify an i
nstall prefix, a
build directory, or an apr-config file." >&2;}
   { (exit 1); exit 1; }; }
    fi

else

        if test -d ""; then
      apr_temp_abs_srcdir="`cd  && pwd`"

Mime
View raw message