>Number: 2307 >Category: other >Synopsis: ./configure has trouble to include a module via >"--add-module=FILE" when .c-file starts with string "mod_" >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: mistaken >Submitter-Id: apache >Arrival-Date: Thu May 28 07:50:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3b7 >Environment: Linux lsd 2.0.32 #1 Mon Dec 22 20:56:50 MET 1997 i586 unknown gcc v 2.7.2.1 GNU sed version 2.05 >Description:
here`s the call I made to configure my httpd... note I included an module via "--add-module=FILE" called "mod_bandwidth_1.2.c". It comes from "ftp://ftp.cohprog.com/pub/apache/module/mod_bandwidth.c". as u can see in the output of configure, the module wasn`t well configured, the line "Creating Makefile in src/modules/extra" is missing :( lsd:/usr/local/src/apache_1.3b7 # ./configure --add-module=/usr/local/src/packages/mod_4_apache/mod_bandwidth_1.2.c --activate-module=src/modules/php3/libmodphp3.a --enable-module=auth_anon --enable-module=auth_dbm --enable-module=digest --enable-module=expires --enable-module=log_agent --enable-module=log_referer --enable-module=mime_magic --enable-module=speling --enable-module=unique_id --enable-suexec --suexec-caller=httpd --suexec-userdir=/ --suexec-uidmin=0 --suexec-gidmin=0 Configuring for Apache, Version 1.3b7 ./configure: module_bandwidth_1.2=yes: command not found ./configure: shared_bandwidth_1.2=no: command not found + on-the-fly added and activated bandwidth_1.2 module (modules/extra/mod_bandwidth_1.2.o) + activated modphp3 module (modules/php3/libmodphp3.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + adding selected modules o dbm_auth_module uses ConfigStart/End + doing sanity check on compiler and options Creating Makefile in src/main Creating Makefile in src/ap Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/modules/standard Creating Makefile in src/modules/php3 >How-To-Repeat: simply try to add an third party module via "./configure ----add-module=/any/path/mod_any-mod.c" my module was found on "ftp://ftp.cohprog.com/pub/apache/module/mod_bandwidth.c". u may reproduce that error if a module starts with string "lib" too. I had a very quick look in the configure-skript. >Fix: no, I used the workaround renaming the module ;) >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
