Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 10:41:42 GMT
From:      Richard Brooksby <rb@ravenbrook.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/78857: wchar_t type definition conflict between stdlib.h and ncurses.h when building Python
Message-ID:  <200503151041.j2FAfg1R084189@www.freebsd.org>
Resent-Message-ID: <200503151050.j2FAo27e008123@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78857
>Category:       misc
>Synopsis:       wchar_t type definition conflict between stdlib.h and ncurses.h when building Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 15 10:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Richard Brooksby
>Release:        5.3
>Organization:
Ravenbrook Limited
>Environment:
FreeBSD coot.ravenbrook.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
On a clean FreeBSD 5.3 machine, do:

cd /usr/local/lang/python
make install

and you will see, amongst other things:

checking ncurses.h usability... no
checking ncurses.h presence... yes
configure: WARNING: ncurses.h: present but cannot be compiled
configure: WARNING: ncurses.h: check for missing prerequisite 
headers?
configure: WARNING: ncurses.h: proceeding with the 
preprocessor's result

The Python guys looked at this and found a problem with the FreeBSD headers.  See https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1160534&group_id=5470 for full background.
>How-To-Repeat:
Build /usr/ports/lang/python on a clean install and look carefully at the autoconf output.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503151041.j2FAfg1R084189>