Mailing List Archive

404-link in Compiling Apache for Microsoft Windows
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

[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
Re: 404-link in Compiling Apache for Microsoft Windows [ In reply to ]
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


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: 404-link in Compiling Apache for Microsoft Windows [ In reply to ]
On Wed, Dec 6, 2023 at 12:25?PM Daniel Sahlberg <dsahlberg@apache.org> wrote:
>
> 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.

Thanks, I have applied your patch to
^httpd/httpd/win32-msi/trunk/awk/buildwin.bat (r1914383) and pointed
to [5] and [3] in the docs (r1914382 + r1914384) for building and
downloading awk respectively.


Regards;
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org