httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stusynski, Dan" <dstusyn...@ptc.com>
Subject RE: [users@httpd] Apache 2.2.8 Windows Compile Issue/Failure
Date Mon, 11 Feb 2008 21:43:19 GMT
This was resolved by doing a command line build and changing the default
INSTDIR value to something other than /Apache22 (ie, D:\Apache22). I
retested the command line build using the default and it failed at the
same place as noted below. 
 
I did not retest the MSCV++ to see if changing the default install
location rectified the error. I would assume it does however.
 
Dan
 
 
________________________________

From: Stusynski, Dan [mailto:dstusynski@ptc.com] 
Sent: Monday, February 11, 2008 12:22 PM
To: users@httpd.apache.org
Subject: [users@httpd] Apache 2.2.8 Windows Compile Issue/Failure


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
admin@example.com 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
admin@example.com 80 443 "\Apache22 " docs/conf/
Installing Apache HTTP 2.0 server with
 DomainName =    example.com
 ServerName =    www.example.com
 ServerAdmin =   admin@example.com
 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

Mime
View raw message