Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache HTTP server 2.2.3 build prob on windows 32 bit |
|
Author |
|
Venkat
Joined: 21 Nov 2006 Posts: 4 Location: hyderabad
|
Posted: Tue 21 Nov '06 17:23 Post subject: Apache HTTP server 2.2.3 build prob on windows 32 bit |
|
|
IDE : VC++ (Visual studio .NET 2003)
these are the steps i have followed
1) unzip the source code.
2) ran perl cvtdsp.pl -2005 {which removes rc.exe errors}
3)included zlib libraries and header files
4)included openssl libraries and header files
now when i started build. it works all fine but gives this follwing error at the end. Please help me in this issue....
===========================================
:
:
:
:
copy Release\libhttpd.exp "\Apache2\lib" <.y
1 file(s) copied.
copy Release\libhttpd.lib "\Apache2\lib" <.y
1 file(s) copied.
copy modules\dav\main\Release\mod_dav.exp "\Apache2\lib" <.y
1 file(s) copied.
copy modules\dav\main\Release\mod_dav.lib "\Apache2\lib" <.y
1 file(s) copied.
echo Y >.y
for %f in ( charset.conv magic mime.types ) do ( copy docs\conf\%f "\Apache2\conf\%f.default" <.y && if not exist "\Apache2\conf\%f" copy "\Apache2\conf\%f.default" "\Apache2\conf\%f" )
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\charset.conv "\Apache2\conf\charset.conv.default" 0<.y && if not exist "\Apache2\conf\charset.conv" copy "\Apache2\conf\charset.conv.default" "\Apache2\conf\charset.conv" )
1 file(s) copied.
1 file(s) copied.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\magic "\Apache2\conf\magic.default" 0<.y && if not exist "\Apache2\conf\magic" copy "\Apache2\conf\magic.default" "\Apache2\conf\magic" )
1 file(s) copied.
1 file(s) copied.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\mime.types "\Apache2\conf\mime.types.default" 0<.y && if not exist "\Apache2\conf\mime.types" copy "\Apache2\conf\mime.types.default" "\Apache2\conf\mime.types" )
1 file(s) copied.
1 file(s) copied.
copy docs\conf\httpd-win.conf "\Apache2\conf\httpd.conf.default" <.y
1 file(s) copied.
awk -f script.awk "docs/conf/httpd-win.conf" "\Apache2" > "\Apache2\conf\httpd.conf.default"
'awk' is not recognized as an internal or external command,
operable program or batch file.
if not exist "\Apache2\conf\httpd.conf" copy "\Apache2\conf\httpd.conf.default" "\Apache2\conf\httpd.conf"
1 file(s) copied.
for %f in ( docs\conf\extra\*.in ) do ( copy %f "\Apache2\conf\extra\%~nf.default" <.y && awk -f script.awk "docs/conf/extra/%~nf.in" "\Apache2" > "\Apache2\conf\extra\%~nf.default" )
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-autoindex.conf.in "\Apache2\conf\extra\httpd-autoindex.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-autoindex.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-autoindex.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-dav.conf.in "\Apache2\conf\extra\httpd-dav.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-dav.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-dav.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-default.conf.in "\Apache2\conf\extra\httpd-default.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-default.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-default.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-info.conf.in "\Apache2\conf\extra\httpd-info.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-info.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-info.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-languages.conf.in "\Apache2\conf\extra\httpd-languages.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-languages.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-languages.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-manual.conf.in "\Apache2\conf\extra\httpd-manual.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-manual.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-manual.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-mpm.conf.in "\Apache2\conf\extra\httpd-mpm.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-mpm.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-mpm.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-multilang-errordoc.conf.in "\Apache2\conf\extra\httpd-multilang-errordoc.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-multilang-errordoc.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-multilang-errordoc.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-ssl.conf.in "\Apache2\conf\extra\httpd-ssl.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-ssl.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-ssl.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-userdir.conf.in "\Apache2\conf\extra\httpd-userdir.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-userdir.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-userdir.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-vhosts.conf.in "\Apache2\conf\extra\httpd-vhosts.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-vhosts.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-vhosts.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Build log was saved at "file://c:\TechStack\ApacheHTTPServer\httpd-2.2.3\Release\BuildLog.htm"
InstallBin - 2 error(s), 0 warning(s)
===========================================
i tried to debug it , but didn't understand the Makefile.win.
please help me in this issue...
Thanks in advance |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 21 Nov '06 17:44 Post subject: |
|
|
Comment out the following lines in makefile.win
Code: |
!IFNDEF MAKEOPT
# Only default the behavior if MAKEOPT= is omitted
!IFDEF _NMAKE_VER
# Microsoft NMake options
MAKEOPT=-nologo
!ELSEIF "$(MAKE)" == "make"
# Borland make options? Not really supported (yet)
MAKEOPT=-s -N
!ENDIF
!ENDIF
|
See
http://www.apachelounge.com/viewtopic.php?t=778 |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 21 Nov '06 17:47 Post subject: |
|
|
Changing the makefile should not be nessecary.
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
Looks like you do not have awk installed.
For details see http://httpd.apache.org/docs/2.2/platform/win_compiling.html
Steffen |
|
Back to top |
|
Venkat
Joined: 21 Nov 2006 Posts: 4 Location: hyderabad
|
Posted: Tue 21 Nov '06 18:23 Post subject: |
|
|
I have cleaned up the solution then again built the apache server in Release mode.
Now am getting following errors,
=========================================
\Release\iconv\windows-1252.so
.\Release\iconv\windows-1253.so
.\Release\iconv\windows-1254.so
.\Release\iconv\windows-1255.so
.\Release\iconv\windows-1256.so
.\Release\iconv\windows-1257.so
.\Release\iconv\windows-1258.so
.\Release\iconv\_tbl_simple.so
212 file(s) copied.
Copying apr-iconv pdb debugging symbols from .\Release\iconv to \Apache2\bin\iconv
.\Release\iconv\*.pdb
The system cannot find the file specified.
0 file(s) copied.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe"' : return code '0x2'
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Build log was saved at "file://c:\TechStack\ApacheHTTPServer\httpd-2.2.3\Release\BuildLog.htm"
InstallBin - 3 error(s), 0 warning(s)
=================================================
To fix these errors i have followed this step
i have edited the .\httpd-2.2.3\srclib\apr-iconv\build\modules.mk.win
and replaced
line no 133 :
Code: | $(SILENT)copy $(OUTPUT_DIR)\*.pdb "$(INSTALL_DIR)"
|
with this line of code
Code: | $(SILENT)copy $(OUTPUT_DIR)\objs\*.pdb "$(INSTALL_DIR)" |
please correct me if i have done anything wrong...
Now the code works fine but lands up with previous error which i have posted.
Steffen i have already downloaded AWK utility and its even in path also. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
Venkat
Joined: 21 Nov 2006 Posts: 4 Location: hyderabad
|
Posted: Tue 21 Nov '06 19:20 Post subject: |
|
|
===============================================
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-ssl.conf.in "\Apache2\conf\extra\httpd-ssl.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-ssl.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-ssl.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-userdir.conf.in "\Apache2\conf\extra\httpd-userdir.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-userdir.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-userdir.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
c:\TechStack\ApacheHTTPServer\httpd-2.2.3>(copy docs\conf\extra\httpd-vhosts.conf.in "\Apache2\conf\extra\httpd-vhosts.conf.default" 0<.y && awk -f script.awk "docs/conf/extra/httpd-vhosts.conf.in" "\Apache2" 1>"\Apache2\conf\extra\httpd-vhosts.conf.default" )
1 file(s) copied.
'awk' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Build log was saved at "file://c:\TechStack\ApacheHTTPServer\httpd-2.2.3\Release\BuildLog.htm"
InstallBin - 2 error(s), 0 warning(s)
===============================================
Steffen i have followed all the steps in the link provided by you but am getting same error again.
NMAKE is throwing some error on for loop in Makefile.win
hope some of you guys have faced this problem if so help me in this issue
Thanks in advance |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 21 Nov '06 19:39 Post subject: |
|
|
'awk' is not recognized as an internal or external command,
operable program or batch file.
That really indicates that your awk.exe is not found. |
|
Back to top |
|
|
|
|
|
|