On Mon, 31 Oct 2011, Craig Small wrote:

On Fri, Oct 28, 2011 at 11:05:54PM +0200, Sven Joachim wrote:
The value of ETIP_NEEDS_MATH_H is probably dependent on the build
environment, rather than on the architecture.  Craig, do you have any
build logs?
i do, I would not of used pbuilder most likely.

| /tmp/buildd/ncurses-5.9/c++/etip.h.in:116:25: fatal error: ncurses_dll.h: No 
such file or directory
| compilation terminated.
| configure:17659: $? = 1
How strange you get this error.

configure:17630: checking for special defines needed for etip.h
configure:17656: /usr/bin/g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security 
-I/home/csmall/debian/ncurses/ncurses/c++ -I/home/csmall/debian/ncurses/ncurses/menu 
-I/home/csmall/debian/ncurses/ncurses/include  -D_GNU_SOURCE -DNDEBUG conftest.cc 
>&5
configure:17659: $? = 0

When building on my normal system, this problem is hidden because
libncurses5-dev is installed, and so the ncurses_dll.h copy in
/usr/include is used:
That seems wrong to me.  It should be using "its own" header file,
shouldn't it?

It should. I saw something of that sort yesterday, and made a note to check on it. But I've spent most of the weekend working on a change to the way _XOPEN_SOURCE is defined (lots of builds to retest). So it'll probably be unresolved in tonight's (expected) patch.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to