bug-hurd
[Top][All Lists]
Advanced

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

Re: cross-gnu : mawk syntax error


From: Thomas Schwinge
Subject: Re: cross-gnu : mawk syntax error
Date: Sat, 8 Dec 2007 12:57:49 +0100
User-agent: Mutt/1.5.11

Hello!

There is no need to send such email also to the web-hurd mailing list.
I've only do so once or twice in the past when the emails contained
information I wanted to have integrated into the web or wiki pages.  But
such technical questions or discussions are fine to be sent just to
bug-hurd.


On Thu, Dec 06, 2007 at 05:55:40PM +0000, Ashish Gokhale wrote:
> error for mawk as follows:
> [...]
> mawk: scripts/gen-sorted.awk: line 19: regular
> expression compile failed (bad class -- [], [^] or [)
> /[^
> mawk: scripts/gen-sorted.awk: line 19: syntax error at
> or near ]
> mawk: scripts/gen-sorted.awk: line 19: runaway regular
> expression /, "", subd ...
> make[1]: *** [/hurd/src/glibc.obj/sysd-sorted] Error 2
> make[1]: Leaving directory `/hurd/src/glibc'
> make: *** [all] Error 2

This is glibc's way of telling you that it wants to have gawk installed
instead of mawk.  As Ivan Shmakov already suggested, it may work if you
do a ``AWK=gawk && export AWK'' before running `cross-gnu', having gawk
installed, of course.  If you confirm that this works, I can add it to
the `cross-gnu-env' shell script.

> if I uninstall mawk & configure /usr/bin/awk to point
> to gawk, I get mawk comman not found error. How to
> proceed? 

Be sure to do a ``rm -rf $ROOT/src/glibc.obj'' to clear up the bogus
files before re-running `cross-gnu'.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

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