help-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk for a-Shell (on iPadOS)


From: Eli Zaretskii
Subject: Re: gawk for a-Shell (on iPadOS)
Date: Sun, 11 Jun 2023 18:58:00 +0300

[PLEASE use Reply All, to keep the mailing list CC'ed.]

> From: Peter Vernam <pvernam@alum.mit.edu>
> Date: Sun, 11 Jun 2023 11:13:42 -0400
> 
> It's not compiling that I'm having difficulty with, it's everything else.

That's okay, but then why did you start by talking about the GCC vs
Clang problem?

> The configure script doesn't work:
> 
> [~/Documents/gawk-5.2.1]$ ./configure
> ./configure: 80: eval: sh: not found
> ./configure: 81: eval: sh: not found

If you don't have a Unixy shell, the configure script will not work.
You need either to find a shell for the iPhone (no idea if such a
beast exists), or cross-build Gawk on a Unix system.

> So a Makefile doesn't get created, and neither do some required header files:
> 
> [~/Documents/gawk-5.2.1]$ clang version.c
> version.c:1:10: fatal error: 'config.h' file not found
> #include "config.h"
>          ^~~~~~~~~~

Yes, the config.h file is generated by running the configure script.
So this is the same problem as the first one.

> [~/Documents/gawk-5.2.1]$ clang symbol.c
> In file included from symbol.c:27:
> ./awk.h:54:10: fatal error: 'setjmp.h' file not found
> #include <setjmp.h>
>          ^~~~~~~~~~

If you have a working Clang installation, it must have a setjmp.h
header file -- this is a standard header file that every C compiler
should have.  Maybe you haven't installed the headers and the Standard
C library to go with Clang?

> Before you dismiss me as an idiot, please install a-Shell on an iPadOS device 
> and try performing
> some of these steps yourself.

Why are you saying this?  I never called you idiot. not even hinted on
anything like that.  I'm trying to help you getting done what you want
to do.  I don't think I deserve such rudeness for trying to help.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]