You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Doug MacEachern <do...@covalent.net> on 2002/01/06 00:55:45 UTC

trouble with httpd-2.0 HEAD

updating for the first time in 2 weeks, blowing up here:
/bin/sh /usr/local/apache/build/prefork-debug-shared-all-exp/srclib/apr/libtool --silent --mode=compile gcc -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread  -Wall -g -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE   -I/usr/local/apache/build/prefork-debug-shared-all-exp/srclib/apr-util/include -I/usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util/include @APR_INCLUDES@  -c /usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util/buckets/apr_buckets_file.c && touch apr_buckets_file.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [apr_buckets_file.lo] Error 1

same configure args were working fine back then, other than
mod_auth_digest not building.  i think that was related to using --srcdir,
maybe this problem is too?

% cat config.nice
#! /bin/sh
#
# Created by configure

CFLAGS="-Wall -g"; export CFLAGS
"/usr/local/apache/src/httpd-2.0-cvs/configure" \
"--prefix=/usr/local/apache/install/prefork-debug-shared-all-exp" \
"--with-mpm=prefork" \
"--srcdir=/usr/local/apache/src/httpd-2.0-cvs" \
"--enable-maintainer-mode" \
"--enable-mods-shared=all" \
"--enable-modules=all" \
"--enable-example" \
"--enable-case_filter" \
"--enable-case_filter_in" \
"--enable-cache" \
"--enable-echo" \
"--enable-deflate" \
"--disable-auth_dbm" \
"--disable-auth_db" \
"--disable-auth_digest" \
"--enable-ssl=static" \
"--with-ssl=/usr/local/ssl" \
"$@"


Re: trouble with httpd-2.0 HEAD

Posted by Doug MacEachern <do...@covalent.net>.
everything is ok now after blowing away the cvs tree and checking 
out from scratch.  either something stale in the cvs tree, or a bug in
my build script.  sorry for the hassle.



Re: trouble with httpd-2.0 HEAD

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Sat, Jan 05, 2002 at 04:50:11PM -0800, Doug MacEachern wrote:
> On Sat, 5 Jan 2002, Justin Erenkrantz wrote:
>  
> > Huh.  That's what I have and it works.  What does config.status
> > say for APR_INCLUDES:
> 
> nada.  there's no reference to APR_INCLUDES in there at all.  are you
> using a --srcdir?  that's my main suspect, though i haven't tried without
> it yet.

[ From my VPATH builds ]

% grep APR_INCLUDES config.status
s,@APR_INCLUDES@,-I/mnt/snarky/jerenkrantz/cvs-apache/httpd-2.0/build-FreeBSD-5.0-CURRENT-i386/srclib/apr/include
-I/mnt/snarky/jerenkrantz/cvs-apache/httpd-2.0/srclib/apr/include,;t t
% grep srcdir config.nice
"--srcdir=/mnt/snarky/jerenkrantz/cvs-apache/httpd-2.0/srclib/apr-util"
\
% grep with-apr config.nice 
"--with-apr=../apr" \

I added APR_INCLUDES in 1.23 rev of build/apu-conf.m4:

http://cvs.apache.org/viewcvs.cgi/apr-util/build/apu-conf.m4.diff?r1=1.22&r2=1.23

What's going on here?  -- justin


Re: trouble with httpd-2.0 HEAD

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 5 Jan 2002, Justin Erenkrantz wrote:
 
> Huh.  That's what I have and it works.  What does config.status
> say for APR_INCLUDES:

nada.  there's no reference to APR_INCLUDES in there at all.  are you
using a --srcdir?  that's my main suspect, though i haven't tried without
it yet.

> It looks like it isn't getting substituted for you.  It's working
> here in VPATH and non-VPATH builds.  You could try blowing away 
> your config.cache.  -- justin

it was already blown away before buildconf and configure were run.


Re: trouble with httpd-2.0 HEAD

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Sat, Jan 05, 2002 at 04:37:35PM -0800, Doug MacEachern wrote:
> CFLAGS="-Wall -g"; export CFLAGS
> "/usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util/configure" \
<snip, snip>
> "--with-apr=../apr" \
> "--prefix=/usr/local/apache/install/prefork-debug-shared-all-exp" \
> "$@"

Huh.  That's what I have and it works.  What does config.status
say for APR_INCLUDES:

% grep APR_INCLUDES srclib/apr-util/config.status
s,@APR_INCLUDES@,-I/home/jerenkrantz/cvs-apache/httpd-2.0/srclib/apr/include,;t
t

It looks like it isn't getting substituted for you.  It's working
here in VPATH and non-VPATH builds.  You could try blowing away 
your config.cache.  -- justin


Re: trouble with httpd-2.0 HEAD

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 5 Jan 2002, Justin Erenkrantz wrote:
 
> How is APR-util's configure script getting the --with-apr 
> option (see config.nice)?  -- justin

% cat srclib/apr-util/config.nice
#! /bin/sh
#
# Created by configure

CFLAGS="-Wall -g"; export CFLAGS
"/usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util/configure" \
"--prefix=/usr/local/apache/install/prefork-debug-shared-all-exp" \
"--with-mpm=prefork" \
"--srcdir=/usr/local/apache/src/httpd-2.0-cvs" \
"--enable-maintainer-mode" \
"--enable-mods-shared=all" \
"--enable-modules=all" \
"--enable-example" \
"--enable-case_filter" \
"--enable-case_filter_in" \
"--enable-cache" \
"--enable-echo" \
"--enable-deflate" \
"--disable-auth_dbm" \
"--disable-auth_db" \
"--disable-auth_digest" \
"--enable-ssl=static" \
"--with-ssl=/usr/local/ssl" \
"--cache-file=../.././config.cache" \
"--srcdir=/usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util" \
"--with-apr=../apr" \
"--prefix=/usr/local/apache/install/prefork-debug-shared-all-exp" \
"$@"

% cat srclib/apr/config.nice
#! /bin/sh
#
# Created by configure

CFLAGS="-Wall -g"; export CFLAGS
"/usr/local/apache/src/httpd-2.0-cvs/srclib/apr/configure" \
"--prefix=/usr/local/apache/install/prefork-debug-shared-all-exp" \
"--with-mpm=prefork" \
"--srcdir=/usr/local/apache/src/httpd-2.0-cvs" \
"--enable-maintainer-mode" \
"--enable-mods-shared=all" \
"--enable-modules=all" \
"--enable-example" \
"--enable-case_filter" \
"--enable-case_filter_in" \
"--enable-cache" \
"--enable-echo" \
"--enable-deflate" \
"--disable-auth_dbm" \
"--disable-auth_db" \
"--disable-auth_digest" \
"--enable-ssl=static" \
"--with-ssl=/usr/local/ssl" \
"--cache-file=../.././config.cache" \
"--srcdir=/usr/local/apache/src/httpd-2.0-cvs/srclib/apr" \
"--prefix=/usr/local/apache/install/prefork-debug-shared-all-exp" \
"$@"


Re: trouble with httpd-2.0 HEAD

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Sat, Jan 05, 2002 at 04:22:59PM -0800, Doug MacEachern wrote:
> On Sat, 5 Jan 2002, Justin Erenkrantz wrote:
>  
> > @APR_INCLUDES@ is not being substituted properly.  You reran buildconf 
> > and configure?
> 
> yeah, the script i use always blows away the old build tree and re-runs
> buildconf and configure.

How is APR-util's configure script getting the --with-apr 
option (see config.nice)?  -- justin


Re: trouble with httpd-2.0 HEAD

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 5 Jan 2002, Justin Erenkrantz wrote:
 
> @APR_INCLUDES@ is not being substituted properly.  You reran buildconf 
> and configure?

yeah, the script i use always blows away the old build tree and re-runs
buildconf and configure.


Re: trouble with httpd-2.0 HEAD

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Sat, Jan 05, 2002 at 03:55:45PM -0800, Doug MacEachern wrote:
> updating for the first time in 2 weeks, blowing up here:
> /bin/sh /usr/local/apache/build/prefork-debug-shared-all-exp/srclib/apr/libtool --silent --mode=compile gcc -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread  -Wall -g -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE   -I/usr/local/apache/build/prefork-debug-shared-all-exp/srclib/apr-util/include -I/usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util/include @APR_INCLUDES@  -c /usr/local/apache/src/httpd-2.0-cvs/srclib/apr-util/buckets/apr_buckets_file.c && touch apr_buckets_file.lo
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[4]: *** [apr_buckets_file.lo] Error 1

@APR_INCLUDES@ is not being substituted properly.  You reran buildconf 
and configure?  I probably need to merge in the find_apr.m4 macros
because the current APR detection code is crap.  -- justin