Armin K. wrote:

> after running "AWK=gawk ./configure ...", build went fine. Has anyone
> else experienced this?

Yes, and the books says to use gawk:

Host System Requirements:

Gawk-3.1.5 (/usr/bin/awk should be a link to gawk)

I suppose we could s/should/must/

> I did have mawk on Debian when I've built my LFS,
> but ncurses built fine there. I've also asked him to post his "env"
> output, and also there everything seemed fine. So, has anyone got any
> idea why is mawk being detected instead of mawk? /usr/bin/awk is symlink
> to gawk, not mawk.

Hmm...

 > AWK=mawk sh ./MKkey_defs.sh ./Caps >>curses.h

Where did this come from?  My log has:

AWK=gawk sh ./MKkey_defs.sh ./Caps >>curses.h

I do see that the ncurses INSTALL says that mawk will be OK, but we've 
never supported that.

OK, now I see in configure:

for ac_prog in mawk gawk nawk awk

I think that's an upstream issue, possibly in autotools.  I don't see 
mawk mentioned in configure.in.  However, I see the same thing in 
ncurses-5.7 and 5.8.

This is only a Chapter 5 problem because mawk will never be present in 
Chapter 6.

Your override of AWK will work, but I don't see why this hasn't come up 
before.  AFAIK, the symlink has always worked.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to