You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jan Gallo <ga...@pvt.sk> on 1999/01/16 17:15:30 UTC
os-ultrix/3690: Script "./src/Configure" fails
>Number: 3690
>Category: os-ultrix
>Synopsis: Script "./src/Configure" fails
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Jan 16 08:20:01 PST 1999
>Last-Modified:
>Originator: gallo@pvt.sk
>Organization:
apache
>Release: 1.3.4
>Environment:
Operating system Ultrix 4.4 and 4.5 (mips) "ULTRIX bbuxms2.bb.pvt.sk 4.4 0 RISC"
>Description:
This is not a bug of Apache, but one of Ultrix
(filter sed has a small "problem" with regular expressions).
Therefore it is necessary to slightly modify script ./src/Configure
Configuration by means of script configure is not ok, this error message
is displayed:
command garbled: s/\([^\]\)"/\1/g
sh: htconf.11251.5: cannot open
and file ./src/include/ap_config_auto.h will not be generated
>How-To-Repeat:
Run for example:
CFLAGS=-O2 sh5 ./configure --prefix=/usr/local/apache --disable-rule=SHARED_CORE
>Fix:
Command in ./src/Configure:
tmpstr=`echo $CFLAGS $TEXTRA_CFLAGS |\
sed -e 's;[ ]-;!-;g' -e 's/\\\"/\"/g' -e 's/\([^\\]\)"/\1/g'`
should be replaced with command:
tmpstr=`echo $CFLAGS $TEXTRA_CFLAGS |\
sed -e 's;[ ]-;!-;g' -e 's/\\\"/\"/g' -e 's/\([^\\\]\)"/\1/g'`
(e.g., one more backslash should be added in the third expression for sed)
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]