Hi all, I have Apache 2.2.6 running on a Solaris 10 server and I want to upgrade it to Apache 2.2.25 using config.nice. I've been having lots of problems related to the compiler, but I finally got config.nice to run. Now when I run make (using GNU make) I get the following error:
httpd-2.2.25/ => /usr/local/bin/make
Making all in srclib
make[1]: Entering directory `/export/home/voyager/httpd-2.2.25/srclib'
Making all in pcre
make[2]: Entering directory `/export/home/voyager/httpd-2.2.25/srclib/pcre'
make[3]: Entering directory `/export/home/voyager/httpd-2.2.25/srclib/pcre'
/usr/local/apr-httpd//build-1/libtool --silent --mode=compile /usr/local/bin/gcc -g -O2 -s -m32 -I/m1/shared/temp/include -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/export/home/voyager/httpd-2.2.25/srclib/pcre -I. -I/export/home/voyager/httpd-2.2.25/os/unix -I/export/home/voyager/httpd-2.2.25/server/mpm/prefork -I/export/home/voyager/httpd-2.2.25/modules/http -I/export/home/voyager/httpd-2.2.25/modules/filters -I/export/home/voyager/httpd-2.2.25/modules/proxy -I/export/home/voyager/httpd-2.2.25/include -I/export/home/voyager/httpd-2.2.25/modules/generators -I/export/home/voyager/httpd-2.2.25/modules/mappers -I/export/home/voyager/httpd-2.2.25/modules/database -I/usr/local/apr-httpd//include/apr-1 -I/usr/local/apr-util-httpd//include/apr-1 -I/export/home/voyager/httpd-2.2.25/server -I/export/home/voyager/httpd-2.2.25/modules/proxy/../generators -I/export/home/voyager/httpd-2.2.25/modules/ssl -I/export/home/voyager/httpd-2.2.25/modules/dav/main -prefer-non-pic -static -c maketables.c && touch maketables.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [maketables.lo] Error 1
make[3]: Leaving directory `/export/home/voyager/httpd-2.2.25/srclib/pcre'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/voyager/httpd-2.2.25/srclib/pcre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/voyager/httpd-2.2.25/srclib'
make: *** [all-recursive] Error 1
I've searched and searched and haven't been able to find anything that explains what the problem is. Can anyone help me with this?
Here is my config.nice
#! /bin/sh
#
# Created by configure
CC="/usr/local/bin/gcc"; export CC
CFLAGS="-s -m32 -I/m1/shared/temp/include"; export CFLAGS
LDFLAGS="-m32 -L/lib -L/usr/lib -L/m1/shared/temp"; export LDFLAGS
"./configure" \
"--with-apr=/usr/local/apr-httpd" \
"--with-apr-util=/usr/local/apr-util-httpd" \
"LIBTOOL=/m1/shared/httpd/2.2.6/build/libtool --tag=CC" \
"--enable-deflate=static" \
"--enable-reqtimeout" \
"--enable-mods-shared=all vhost-alias unique-id v4-mapped rewrite mime-magic charset-lite" \
"--without-berkely-db" \
"--prefix=/m1/shared/apache2" \
"CC=/usr/local/bin/gcc" \
"CFLAGS=-s -m32 -I/m1/shared/temp/include" \
"LDFLAGS=-m32 -L/lib -L/usr/lib -L/m1/shared/temp" \
"$@"
I've tried running it with /usr/local/apr-httpd/build-1/libtool and get the same error.