On Wed, Jan 18, 2023 at 8:26 PM Matthias Seidel <matthias.sei...@hamburg.de>
wrote:

> Hi,
>
> Am 16.01.23 um 03:47 schrieb Damjan Jovanovic:
> > Hi
> >
> > That's progress, because if you compare it to the previous build's
> > ./configure:
> > https://ci2.apache.org/#/builders/67/builds/509/steps/8/logs/stdio
> > it no longer stops on the error:
> > "configure: error: cannot run /bin/sh ./config.sub",
> > we got further to reach the awk error.
> >
> > So the automatic changing of line endings by git really was a problem,
> and:
> > git clone -c core.autocrlf=false ...
> > really did fix it :-).
>
> Yes, it looks better!
>
> Is this a native Windows git or the one inside Cygwin?
>

It's called from within Cygwin, but it could be the Windows one, I am not
sure.


>
> >
> > Now regarding Awk, instead of doing:
> > rm /bin/awk
> > mv /bin/gawk.exe /bin/awk.exe
> > can't we prepend PATH with a directory containing an "awk" script that
> just
> > calls gawk.exe?
>
> It would be great if there is a better way to do it. I just followed our
> Windows building guide all these years.
>
> But this is beyond my capabilities and one of the reasons why I cannot
> maintain our buildbots anymore.
>

This approach did eventually work. I eventually succeeded in creating an
"awk" script that calls "gawk" and setting PATH to its directory within
Cygwin, and ./configure now gets further.

Now the next problem is that Cygwin doesn't have gcc and g++ (
https://ci2.apache.org/#/builders/67/builds/516/steps/9/logs/stdio):

which: no gcc in
(/cygdrive/e/buildbot/openoffice-win10/utils:/usr/local/bin:/usr/bin:/cygdrive/e/Python39/Scripts:/cygdrive/e/Python39:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program
Files/Puppet Labs/Puppet/bin:/cygdrive/c/Program Files
(x86)/Subversion/bin:/cygdrive/c/Program
Files/Git/cmd:/cygdrive/e/buildbot/tools/Windows Kits/10/Windows
Performance
Toolkit:/cygdrive/c/Users/buildbot/AppData/Local/Microsoft/WindowsApps)
configure: error: cygwin gcc and g++ are needed, please install them.

How can we install them?


> Regards,
>
>    Matthias
>
>
Regards
Damjan

Reply via email to