[Python-bugs-list] [ python-Bugs-634444 ] Python does not build on OpenBSD

noreply@sourceforge.net noreply@sourceforge.net
Wed, 06 Nov 2002 06:20:19 -0800


Bugs item #634444, was opened at 2002-11-06 14:17
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=634444&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
>Priority: 7
Submitted By: Jon Ribbens (jribbens)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python does not build on OpenBSD

Initial Comment:
The new makedev/major/minor feature in posixmodule.c 
breaks the build on OpenBSD.

These macros come from /usr/include/sys/types.h, and 
are conditional on:

#if !defined(_POSIX_SOURCE) && !defined
(_XOPEN_SOURCE)

When ./configure is testing to find makedev etc, neither 
of these macros is defined so it finds them in types.h. 
However when posixmodule.c is compiled, 
_XOPEN_SOURCE is defined, so makedev etc are not 
available and the link fails.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=634444&group_id=5470