Re: httpd v2.0 compile fails with mod_so on Linux

2003-03-30 Thread Graham Leggett
Jeff Trawick wrote:

Can you try with some well-used autoconf instead of "GNU Autoconf 2.57" 
and see if whatever is happening is related to the autoconf version?
I checked out a fresh copy of the source tree (as opposed to cvs 
update'ing my existing tree) and the problems have gone away. I think 
there were some files lying around from old compiles that were breaking 
things.

Regards,
Graham
--
-
[EMAIL PROTECTED]   "There's a moon
over Bourbon Street
tonight..."


Re: httpd v2.0 compile fails with mod_so on Linux

2003-03-30 Thread Graham Leggett
Joe Orton wrote:

./configure  --enable-mods-shared=all

checking whether to enable mod_userdir... shared (all)
checking whether to enable mod_alias... shared (all)
checking whether to enable mod_rewrite... shared (all)
configure: error: shared objects have been requested but cannot be built 
since mod_so cannot be built

Again, I have attached config.log - any clues?
...

configure:15185: /include/apr.h: No such file or directory
configure:15168: error: shared objects have been requested but cannot be built since 
mod_so cannot be built


This is the same problem as in the other config.log you posted -
APR_CHECK_APR_DEFINE can't find apr.h, so all the checks for APR_HAS_foo
are failing.
Maybe try adding a "echo CPPFLAGS are $CPPFLAGS" line after:

CPPFLAGS="$CPPFLAGS $INCLUDES"

n APR_CHECK_APR_DEFINE to see why not.
I tried this, but the configure script bombs out before this line so I 
never get to see these values. Surely CPPFLAGS should be set before the 
module checks? It looks like it is being set after the module checks, 
which might explain why it is failing.

Regards,
Graham
--
-
[EMAIL PROTECTED]   "There's a moon
over Bourbon Street
tonight..."


Re: httpd v2.0 compile fails with mod_so on Linux

2003-03-30 Thread Joe Orton
On Sun, Mar 30, 2003 at 03:35:24AM +0200, Graham Leggett wrote:
> Hi all,
> 
> (fudging config.m4 to remove mod_auth-digest that refuses to compile)
> 
> When I try to configure the latest head of v2.0 with the following line, 
> it bombs out further down with an error:
> 
> ./configure  --enable-mods-shared=all
> 
> checking whether to enable mod_userdir... shared (all)
> checking whether to enable mod_alias... shared (all)
> checking whether to enable mod_rewrite... shared (all)
> configure: error: shared objects have been requested but cannot be built 
> since mod_so cannot be built
> 
> Again, I have attached config.log - any clues?
...
> configure:15185: /include/apr.h: No such file or directory
> configure:15168: error: shared objects have been requested but cannot be built since 
> mod_so cannot be built

This is the same problem as in the other config.log you posted -
APR_CHECK_APR_DEFINE can't find apr.h, so all the checks for APR_HAS_foo
are failing.

Maybe try adding a "echo CPPFLAGS are $CPPFLAGS" line after:

CPPFLAGS="$CPPFLAGS $INCLUDES"

n APR_CHECK_APR_DEFINE to see why not.

joe


Re: httpd v2.0 compile fails with mod_so on Linux

2003-03-29 Thread Jeff Trawick
Graham Leggett wrote:
Hi all,

(fudging config.m4 to remove mod_auth-digest that refuses to compile)

When I try to configure the latest head of v2.0 with the following line, 
it bombs out further down with an error:
Can you try with some well-used autoconf instead of "GNU Autoconf 2.57" 
and see if whatever is happening is related to the autoconf version?



httpd v2.0 compile fails with mod_so on Linux

2003-03-29 Thread Graham Leggett
Hi all,

(fudging config.m4 to remove mod_auth-digest that refuses to compile)

When I try to configure the latest head of v2.0 with the following line, 
it bombs out further down with an error:

./configure  --enable-mods-shared=all

checking whether to enable mod_userdir... shared (all)
checking whether to enable mod_alias... shared (all)
checking whether to enable mod_rewrite... shared (all)
configure: error: shared objects have been requested but cannot be built 
since mod_so cannot be built

Again, I have attached config.log - any clues?

Regards,
Graham
--
-
[EMAIL PROTECTED]   "There's a moon
over Bourbon Street
tonight..."
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --enable-mods-shared=all

## - ##
## Platform. ##
## - ##

hostname = jessica
uname -m = ppc
uname -r = 2.4.20-rc2
uname -s = Linux
uname -v = #1 Thu Nov 21 00:07:09 SAST 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = ppc
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/local/bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /opt/j2sdk1.3.1/bin
PATH: /home/minfrin/bin


## --- ##
## Core tests. ##
## --- ##

configure:1582: checking for chosen layout
configure:1584: result: Apache
configure:2377: checking for working mkdir -p
configure:2393: result: yes
configure:2410: checking build system type
configure:2428: result: powerpc-unknown-linux-gnu
configure:2436: checking host system type
configure:2450: result: powerpc-unknown-linux-gnu
configure:2458: checking target system type
configure:2472: result: powerpc-unknown-linux-gnu
configure:2501: checking for APR
configure:2561: result: reconfig
configure:2776: checking for APR-util
configure:2837: result: reconfig
configure:3312: checking for rm
configure:3330: found /bin/rm
configure:3342: result: /bin/rm
configure:3353: checking for gawk
configure:3369: found /bin/gawk
configure:3379: result: gawk
configure:3435: checking for gcc
configure:3451: found /usr/bin/gcc
configure:3461: result: gcc
configure:3705: checking for C compiler version
configure:3708: gcc --version &5
2.95.4
configure:3711: $? = 0
configure:3713: gcc -v &5
Reading specs from /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/specs
gcc version 2.95.4 20010319 (prerelease/franzo/20011204)
configure:3716: $? = 0
configure:3718: gcc -V &5
gcc: argument to `-V' is missing
configure:3721: $? = 1
configure:3745: checking for C compiler default output
configure:3748: gcc  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   conftest.c  >&5
configure:3751: $? = 0
configure:3797: result: a.out
configure:3802: checking whether the C compiler works
configure:3808: ./a.out
configure:3811: $? = 0
configure:3828: result: yes
configure:3835: checking whether we are cross compiling
configure:3837: result: no
configure:3840: checking for suffix of executables
configure:3842: gcc -o conftest  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   conftest.c  >&5
configure:3845: $? = 0
configure:3870: result: 
configure:3876: checking for suffix of object files
configure:3898: gcc -c  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE conftest.c >&5
configure:3901: $? = 0
configure:3923: result: o
configure:3927: checking whether we are using the GNU C compiler
configure:3952: gcc -c  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE conftest.c >&5
configure:3955: $? = 0
configure:3958: test -s conftest.o
configure:3961: $? = 0
configure:3974: result: yes
configure:3980: checking whether gcc accepts -g
configure:4002: gcc -c -g  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-D_SVID_SOURCE -D_GNU_SOURCE conftest.c >&5
configure:4005: $? = 0
configure:4008: test -s conftest.o
configure:4011: $? = 0
configure:4022: result: yes
configure:4039: checking for gcc option to accept ANSI C
configure:4100: gcc  -c  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE conftest.c >&5
configure:4103: $? = 0
configure:4106: test -s conftest.o
configure:4109: $? = 0
configure:4127: result: none needed
configure:4145: gcc -c  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE conftest.c >&5
con