Hello all,
Hopefully someone can provide guidance or has seen this problem before
since google didn't dredge up anything useful.
During my Win XP build of Apache 2.2.8 using MSCV++ 6.0 I've run across
an issue I can't immediately resolve.
The build fails towards the end of the build when the file
<apache_src_dir>/build/installwinconf.awk gets invoked, the compile
fails with the following error:
D:\apache_builds\windows_M030\httpd-2.2.8>(copy docs\conf\mime.types
"\Apache22\conf\original\mime.types" 0<.y )
1 file(s) copied.
awk -f build\installwinconf.awk example.com www.example.com
[EMAIL PROTECTED] 80 443 "\Apache22 " docs/conf/
awk: build\installwinconf.awk:49: fatal: can't redirect to
`/Apache22/logs/install.log' (No such file or directory)
NMAKE : fatal error U1077: 'awk' : return code '0x2'
Stop.
Error executing NMAKE.
httpd.exe - 1 error(s), 10 warning(s)
It can't find logs/install.log since it doesn't exist in the directory
after checking. If I comment out the print statements (or remove the
piping into the install.log) in the installwinconf.awk, and rebuild I
get a subsequent error:
D:\apache_builds\windows_M030\httpd-2.2.8>(copy docs\conf\mime.types
"\Apache22\conf\original\mime.types" 0<.y )
1 file(s) copied.
awk -f build\installwinconf.awk example.com www.example.com
[EMAIL PROTECTED] 80 443 "\Apache22 " docs/conf/
Installing Apache HTTP 2.0 server with
DomainName = example.com
ServerName = www.example.com
ServerAdmin = [EMAIL PROTECTED]
ServerPort = 80
ServerSslPort = 80
ServerRoot = /Apache22
awk: build\installwinconf.awk:194: fatal: can't redirect to
`/Apache22/conf/original/extra/httpd-autoindex.conf' (No such file or
directory)
NMAKE : fatal error U1077: 'awk' : return code '0x2'
Stop.
Error executing NMAKE.
httpd.exe - 1 error(s), 10 warning(s)
A quick check shows that
`/Apache22/conf/original/extra/httpd-autoindex.conf' doens't exist
either. However, the file /Apache22/conf/extra/httpd-autoindex.conf does
exist, and appears (using a quick check) to have the correct values
where the tokens are/were. For examle, www.example.com would have
replaced the @@servername@@ token.
These errors didn't occur with 2.2.6. Any thoughts on how to proceed or
resolve this error? Creating dummy files or copying the tokenized source
files from <apache_src_dir>/docs/conf/ to this location didn't allow the
build to proceed.
Any help is appreciated.
Dan