Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 16340 invoked by uid 500); 22 May 2000 01:29:41 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 16328 invoked from network); 22 May 2000 01:29:40 -0000 Date: Sun, 21 May 2000 21:30:05 -0400 Message-Id: <200005220130.VAA25000@k5.localdomain> X-Authentication-Warning: k5.localdomain: trawick set sender to trawickj@bellsouth.net using -f From: Jeff Trawick To: new-httpd@apache.org Subject: anybody having problems with --with-module? Reply-to: trawickj@bellsouth.net X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Perhaps this sounds crazy, but it seems that ap_config_auto.h is hosed when I use --with-module=xxx. The hosed ap_config_auto.h is almost the same as ap_config_auto.h.in: [trawick@k5 src]$ diff include/ap_config_auto.h.in include/ap_config_auto.h 0a1 > /* include/ap_config_auto.h. Generated automatically by configure. */ 45c46 < #undef STDC_HEADERS --- > #define STDC_HEADERS 1 120c121 < #undef HAVE_CTYPE_H --- > #define HAVE_CTYPE_H 1 144c145 < #undef HAVE_STDLIB_H --- > #define HAVE_STDLIB_H 1 147c148 < #undef HAVE_STRING_H --- > #define HAVE_STRING_H 1 The bogus ap_config_auto.h seems to be related to a sed error message, shown below. I run configure like this: ./configure --with-debug --enable-module=cgi --prefix=/tmp/apache-2.0 --with-mpm=prefork --enable-module=status --with-module=/dl/apache/mod_charset_lite.c Output from configure telling me that mod_charset_lite was added... ... checking whether to enable mod_setenvif... yes checking whether to enable mod_echo... yes checking for extra modules... /dl/apache/mod_charset_lite.c mod_charset_lite.c added /dl/apache/mod_charset_lite.c checking for target platform... unix checking for setsid... (cached) yes ... See this bad output showing a sed error: ... creating config_vars.mk creating modules/example/Makefile creating modules/mpm/Makefile creating modules/mpm/prefork/Makefile creating modules/standard/Makefile creating modules/extra/Makefile creating os/unix/Makefile creating Makefile creating ap/Makefile creating lib/Makefile creating main/Makefile creating modules/Makefile creating os/Makefile creating support/Makefile creating ./config.status sed: -e expression #1, char 1: Missing command <---------------- creating support/apxs creating include/ap_config_auto.h include/ap_config_auto.h is unchanged ./include/ap_config_path.h unchanged configuring in lib/pcre ... My first wild goose chase was thinking it had something to do with using EXTRA_CFLAGS... Now I find that simply toggling --with-module=/whatever toggles the bad behavior (sed error + bogus ap_config_auto.h). More debugging required... -- Jeff Trawick | trawick@ibm.net | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...