Re: 404-link in Compiling Apache for Microsoft Windows

Daniel Sahlberg <[email protected]>
Newsgroups gmane.comp.apache.documentation
Message-ID <[email protected]>
On 2022/10/09 16:20:23 Daniel Sahlberg wrote:
> Hi,
> 
> I'm not completely sure if this belongs to dev@ or docs@, please advise if
> I should repost to dev@.
> 
> I'm involved in the Subversion project and in investigating our build
> scripts for Windows, I found our link to awk.exe, at
> http://www.cs.princeton.edu/~bwk/btl.mirror/ was 404.
> 
> When searching for alternatives, I realized HTTPD's page for compiling on
> Windows [1] (I believe it is built from [2]) containing the same link.
> 
> Have you looked for another source for pre-built awk.exe? My best bet
> currently is gnuwin32/gawk [3], [4].
> 
> Incidentally, I realised the repository contains sources for what seems to
> be a copy of the original awk.exe, at [5]. I had to make a small adjustment
> to the build script to make it build on Visual Studio 2022:
> 
> [[[
> Index: buildwin.bat
> ===================================================================
> --- buildwin.bat        (revision 1904474)
> +++ buildwin.bat        (working copy)
> @@ -5,7 +5,7 @@
>  rem If you delete the call to setlocal it will probably work under
> Win95/Win98 as well.
> 
>  setlocal
> -set cl=-w -Ox -QIfdiv- -nologo -link -nologo setargv.obj
> +set cl=/DHAS_ISBLANK -w -Ox -nologo -link -nologo setargv.obj
> 
>  cl maketab.c -o maketab.exe
>  maketab.exe > proctab.c
> ]]]
> 
> Kind regards,
> Daniel Sahlberg

Hi,

A kind ping on this issue.

I've copied [5] to Subversions source tree [6] and added it to our build scripts. We've also removed our references to the princeton.edu site from our documentation.

Kind regards,
Daniel


> 
> [1] https://httpd.apache.org/docs/trunk/platform/win_compiling.html
> [2]
> https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/manual/platform/win_compiling.xml
> [3] https://gnuwin32.sourceforge.net/packages/gawk.htm
> [4] http://gnuwin32.sourceforge.net/downlinks/gawk-bin-zip.php
> [5] https://svn.apache.org/repos/asf/httpd/httpd/win32-msi/trunk/awk

[6] https://svn.apache.org/repos/asf/subversion/trunk/tools/dev/awk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.