|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
DO NOT REPLY [Bug 48067] New: addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
Summary: addloadexample.awk of mod_fcgid-2.3.4 fails in Solaris Product: Apache httpd-2 Version: 2.2.13 Platform: Sun OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: mod_fcgid AssignedTo: bugs@... ReportedBy: strube@... With mod_fcgid-2.3.4 in Solaris, execution of addloadexample.awk during "make install" fails with error "awk: syntax error near line 35". Reason: normal Solaris awk (/usr/bin/awk) does not understand if ( ! /^[ \t]*$/ ) print ""; Workaround: use nawk (/usr/bin/nawk) or /usr/xpg4/bin/awk Possible Patch: if ( $0 !~ /^[ \t]*$/ ) print ""; -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
HWS <strube@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.2.13 |2.3-HEAD -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #1 from Jeff Trawick <trawick@...> 2009-10-27 09:23:23 UTC --- Which level of Solaris? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #2 from HWS <strube@...> 2009-10-27 09:31:46 UTC --- Solaris 10 U7 (5/09). AFAIK, there is no newer patch for /usr/bin/awk. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
Jeff Trawick <trawick@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Jeff Trawick <trawick@...> 2009-11-10 16:54:09 UTC --- Thanks for the "possible patch;" it worked fine. I also had to change the command-line invocation to accept the input file (httpd.conf) from stdin; if named on the command-line, Solaris awk processes it then waits on stdin. The fix also goes into mod_ftp, which shares the build logic. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
Jeff Trawick <trawick@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #4 from HWS <strube@...> 2009-11-11 00:28:56 UTC --- > if named on the command-line, Solaris awk processes it then waits on stdin. I have NEVER seen such a behaviour. This can only occur if a '-' follows the input-file name, such as "awk ... inputfile -" -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #5 from Jeff Trawick <trawick@...> 2009-11-11 04:11:06 UTC --- >I have NEVER seen such a behaviour. This can only occur if a '-' follows the input-file name, such as "awk ... inputfile -" You're right; my explanation is incorrect. I'll leave it at this: This stalls on stdin /usr/bin/awk -f build/addloadexample.awk -v MODULE=fcgid infile >/dev/null but this doesn't /usr/bin/awk -f build/addloadexample.awk infile >/dev/null (but that is missing the variable substitution) and neither does this /usr/bin/awk -f build/addloadexample.awk -v MODULE=fcgid < infile >/dev/null I'm not able to quickly find the root cause. Moving "-v MODULE=fcgid" before the "-f foo.awk" yields a syntax error. I'm curious if you know the answer; perhaps there's a more correct invocation for Makefile.apxs. (This is with /usr/bin/awk on Solaris 10 U5 and OpenSolaris 2009.06.) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #6 from Rainer Jung <rainer.jung@...> 2009-11-11 05:17:45 UTC --- Solaris awk doesn't know the "-v" flag. On Solaris nawk and /usr/xpg4/bin/awk can use "-v", but for the normal awk the syntax is simply "myvar=myval" without "-v". Wild guess: "-v" is interpreted as "-" (read from stdin) and the "v" might get dropped. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #7 from HWS <strube@...> 2009-11-11 05:37:58 UTC --- > On Solaris nawk and /usr/xpg4/bin/awk can use "-v" Yes, that's the reason. Moreover, with nawk the -v must precede the -f (or in-line 'program'), whereas with /usr/xpg4/bin/awk it can also follow these. /usr/bin/awk does not understand -v at all. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #8 from Jeff Trawick <trawick@...> 2009-11-11 07:15:01 UTC --- A portable invocation which also avoids the confusion over -v with Solaris awk seems to be awk -f prog.awk VAR1=val1 VAR2=val2 <infile >outfile (and <infile can just be infile; it makes no difference) But there is another aspect which doesn't work correctly but happens to generate a working config file: the tolower($0) ~ /.../ in the script isn't matching, so the LoadModule is added in an unexpected place. So we're back to the idea of finding a suitable awk. Any issues with http://svn.apache.org/viewvc?view=revision&revision=834900 ? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #9 from HWS <strube@...> 2009-11-11 07:35:03 UTC --- /usr/bin/awk in Solaris does not understand tolower(), even though there is no error; it simply passes its argument unchanged. Only nawk and /usr/xpg4/bin/awk have a working tolower(). Thus the strategy to select the best awk with configure is right. However, /usr/xpg4/bin/awk should be explicitly mentioned in the search list before nawk. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
|
|
DO NOT REPLY [Bug 48067] addloadexample.awk of mod_fcgid-2.3.4 fails in Solarishttps://issues.apache.org/bugzilla/show_bug.cgi?id=48067
--- Comment #10 from Jeff Trawick <trawick@...> 2009-11-11 07:51:27 UTC --- >/usr/xpg4/bin/awk should be explicitly mentioned in the search list before nawk nawk worked for me, but I see some notes on the web about a lack of toupper/tolower in the nawk of some Solaris versions fixed in r834923 thanks! -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@... For additional commands, e-mail: bugs-help@... |
| Free embeddable forum powered by Nabble | Forum Help |