>Number: 4260
>Category: config
>Synopsis: Makefile.tmpl introduces backslash that prevents suexec from
>being compiled, APACI
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Apr 16 05:10:00 PDT 1999
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.6
>Environment:
Solaris 2.6, gcc
>Description:
1. ./configure --enable-suexec --suexec-caller=wwwsrvr
--suexec-userdir=public_html
2. make
gives error:
gcc: suexec.c: No such file or directory
Lines output before the error show there is a backslash in fron of suexec.c
filename:
gcc -c -I../os/unix -I../include -DSOLARIS2=260 \
-DHTTPD_USER=\"wwwsrvr\" \
-DUID_MIN=100 \
-DGID_MIN=100 \
-DUSERDIR_SUFFIX=\"public_html\" \
-DLOG_EXEC=\"/usr/local/apache/logs/suexec_log\" \
-DDOC_ROOT=\"/usr/local/apache/htdocs\" \
-DSAFE_PATH=\"/usr/local/bin:/usr/bin:/bin\" \ suexec.c
this backslash:------------------------------^
>How-To-Repeat:
>Fix:
Yes, join lines in Makefile.tmp (avoid 2 backslashes), config, make again. ok.
diff Makefile.tmpl.original Makefile.tmpl
191,193c191
< -DSAFE_PATH=\"$(suexec_safepath)\" \
< ' \
< suexec; \
---
> -DSAFE_PATH=\"$(suexec_safepath)\" ' suexec; \
>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. ]
[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! ]