You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Frank Cringle <fd...@cliwe.ping.de> on 1997/04/13 22:10:03 UTC

config/380: Configure finds a non-module when including mod_perl

>Number:         380
>Category:       config
>Synopsis:       Configure finds a non-module when including mod_perl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Apr 13 13:10:03 1997
>Originator:     fdc@cliwe.ping.de
>Organization:
apache
>Release:        1.2b8
>Environment:
All
>Description:
The Configure script interprets the line
EXTRA_LIBS= `perl /tmp/mod_perl-0.96/src/modules/perl/ldopts`
as a request to include the module 'tmp'.

Here is a patch:

*** apache_1.2b8/src/Configure.orig     Fri Apr 11 18:33:21 1997
--- apache_1.2b8/src/Configure  Fri Apr 11 18:27:20 1997
***************
*** 593,599 ****

  awk >> modules/Makefile < $tmpfile '\
     BEGIN {printf "MODULES="} \
!    ($3 ~ /modules\//) {split ($3, pp, "/"); printf "%s ", pp[2]} \
     END {printf "\n"}'

  awk >> modules/Makefile < $tmpfile '\
--- 593,599 ----

  awk >> modules/Makefile < $tmpfile '\
     BEGIN {printf "MODULES="} \
!    ($1 == "Module" && $3 ~ /modules\//) {split ($3, pp, "/"); printf "%s ", pp[2]} \
     END {printf "\n"}'

  awk >> modules/Makefile < $tmpfile '\
>How-To-Repeat:
Install mod_perl-0.96 with apache_1.2b8
>Fix:
Patch included
>Audit-Trail:
>Unformatted: