[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Re: ncurses 6.0 - build errors with default configuration
From:       Luciano Moreira <lucianomx () gmail ! com>
Date:       2016-10-27 16:24:41
Message-ID: CAPmMLfh2O61O1P6CENRrO9Gn44-jsiVR=6tdiRc-2OCs0y6cSQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks.

AWK=gawk, worked !

Em qui, 27 de out de 2016 Ă s 13:12, Sven Joachim <svenjoac@gmx.de> escreveu:

> On 2016-10-27 13:48 +0000, Luciano Moreira wrote:
>
> > I got the following errors firing make with the default configuration in
> > Linux Mint 18:
> >
> > $ ./configure && make clean && make
> > [...]
> > gcc -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 --param
> > max-inline-insns-single=1200 -c ../ncurses/lib_gen.c -o
> ../objects/lib_gen.o
> > In file included from ./curses.priv.h:325:0,
> >                  from ../ncurses/lib_gen.c:19:
> > _11363.c:843:15: error: expected ‘)' before ‘int'
> > ../include/curses.h:1631:56: note: in definition of macro ‘mouse_trafo'
> >  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
>
> That's due to a broken mawk in Debian and derivatives, see the thread at
> http://lists.gnu.org/archive/html/bug-ncurses/2015-08/threads.html#00008.
>
> Workaround: install gawk and configure with AWK=gawk.  Or upgrade to a
> newer ncurses patchlevel.
>
> Cheers,
>        Sven
>
-- 

Luciano Moreira

[Attachment #5 (text/html)]

<div dir="ltr">Thanks.  <div><br></div><div>AWK=gawk, worked !</div></div><br><div \
class="gmail_quote"><div dir="ltr">Em qui, 27 de out de 2016 Ă s 13:12, Sven Joachim \
&lt;<a href="mailto:svenjoac@gmx.de">svenjoac@gmx.de</a>&gt; \
escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 2016-10-27 13:48 +0000, Luciano \
Moreira wrote:<br class="gmail_msg"> <br class="gmail_msg">
&gt; I got the following errors firing make with the default configuration in<br \
class="gmail_msg"> &gt; Linux Mint 18:<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; $ ./configure &amp;&amp; make clean &amp;&amp; make<br class="gmail_msg">
&gt; [...]<br class="gmail_msg">
&gt; gcc -DHAVE_CONFIG_H -I. -I../include   -D_GNU_SOURCE -DNDEBUG -O2 --param<br \
class="gmail_msg"> &gt; max-inline-insns-single=1200 -c ../ncurses/lib_gen.c -o \
../objects/lib_gen.o<br class="gmail_msg"> &gt; In file included from \
./curses.priv.h:325:0,<br class="gmail_msg"> &gt;                           from \
../ncurses/lib_gen.c:19:<br class="gmail_msg"> &gt; _11363.c:843:15: error: expected \
‘)' before ‘int'<br class="gmail_msg"> &gt; ../include/curses.h:1631:56: note: in \
definition of macro ‘mouse_trafo'<br class="gmail_msg"> &gt;   #define \
mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)<br class="gmail_msg"> \
<br class="gmail_msg"> That&#39;s due to a broken mawk in Debian and derivatives, see \
the thread at<br class="gmail_msg"> <a \
href="http://lists.gnu.org/archive/html/bug-ncurses/2015-08/threads.html#00008" \
rel="noreferrer" class="gmail_msg" \
target="_blank">http://lists.gnu.org/archive/html/bug-ncurses/2015-08/threads.html#00008</a>.<br \
class="gmail_msg"> <br class="gmail_msg">
Workaround: install gawk and configure with AWK=gawk.   Or upgrade to a<br \
class="gmail_msg"> newer ncurses patchlevel.<br class="gmail_msg">
<br class="gmail_msg">
Cheers,<br class="gmail_msg">
           Sven<br class="gmail_msg">
</blockquote></div><div dir="ltr">-- <br></div><div \
data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Luciano Moreira</p> \
</div></div>



_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ncurses


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic