bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses 5.2 & patch-20011222


From: Thomas Dickey
Subject: Re: ncurses 5.2 & patch-20011222
Date: Mon, 24 Dec 2001 05:28:04 -0500
User-agent: Mutt/1.2.5i

On Sun, Dec 23, 2001 at 09:27:42PM -0500, Marc Smith wrote:
> Hello, I am trying to compile and install ncurses on Mac OS X. I tried
> with the 5.2 tar ball and the installation failed, then I noticed the msg
> in the mailing-list archive about downloading the post-5.2 patches to fix
> the error while trying to build the terminfo database. Now, I did a make
> clean, and another configure, and when I run make I get this:
> 
> ../ncurses/lib_gen.c:640: unbalanced `#endif'
> ../ncurses/lib_gen.c:649: unbalanced `#endif'
> ../ncurses/lib_gen.c:701: unbalanced `#endif'
> make[1]: *** [../objects/lib_gen.o] Error 1
> make: *** [all] Error 2

I had a report about this last week, am not sure what the cause is.
I did get partial feedback (but the person reporting did not follow
up).  They showed me that the lib_gen.c has some spurious '%' characters
at the beginning of the line in that area.  Since the scripts haven't
changed for some time, it's either a toolset (sed/awk/sh) change, or
some bad side-effect of my changes to curses.h.in and curses.tail

The way to troubleshoot this: the script ncurses/base/MKlib_gen.sh
has a 'trap' statement which forces the script to remove temporary
files.  Comment that out (put a '#' at the beginning), and do a
"make distclean", then configure.  Just do a "make sources" and
bundle up all of the build products, e.g.,

tar cf foo.tar `find . -type f -mtime -1`

and send me the result, so I can analyze it and make a recommendation.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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