----- Original Message -----
From: "Christopher Parker" <[EMAIL PROTECTED]>
To: "LFS Support List" <[email protected]>
Sent: Sunday, September 10, 2006 9:39 PM
Subject: Re: ncurses build problem
It's taken me a while to get back to this. Here is the info. awk is at
version 3.1.4.
The error messages I see are the following:
During config:
13:31:26 checking if /tools/bin/g++ supports vscan function...
13:31:36 stdio
13:31:37 checking for library subsets... termlib+ext_tinfo+base+ext_funcs
13:31:37 checking default library suffix...
13:31:37 checking default library-dependency suffix...
13:31:37 ./configure: line 11784: test: too many arguments
13:31:37
During make:
13:58:32 make 1!: Leaving directory `/mnt/lfs/sources/ncurses-5.4/man'
13:58:32 cd include && make DESTDIR="" all
13:58:32 make 1!: Entering directory
`/mnt/lfs/sources/ncurses-5.4/include'
13:58:32 cat curses.head >curses.h
13:58:32 AWK=gawk sh ./MKkey_defs.sh ./Caps >>curses.h
13:58:33 gawk: cmd. line:36: fatal: division by zero attempted
13:58:33 gawk: cmd. line:28: maxkey=;
13:58:33 gawk: cmd. line:28: ^ syntax error
13:58:33 gawk: cmd. line:28: maxkey=;
13:58:33 gawk: cmd. line:28: ^ syntax error
13:58:34 gawk: cmd. line:28: maxkey=;
13:58:34 gawk: cmd. line:28: ^ syntax error
13:58:34 sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide
>>curses.h ; fi'
Thanks,
Chris
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
The source of this problem was due to GAWK not parsing the parameters
correctly. I now have the problem that the following command
echo "parm1 parm2" | awk '{print $1}'
resolves to "parm1 parm2" instead of just "parm1". Has anyone seen this
before, or have any suggestions as to what may have built incorrectly prior
to AWK being built?
Thanks,
Chris
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page