New submission from Erik Sandberg <[EMAIL PROTECTED]>:

When building Python on Solaris, I don't get the os.mknod function. This
seems to be a combination of two errors:
1. The definition of posix_mknod() in posixmodule.c is surrounded by:
#if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV)
It works fine if I remove the HAVE_MAKEDEV define.

2. The reason why HAVE_MAKEDEV doesn't work, is that the Python
configure script only looks for makedev in <sys/types.h>, while on
Solaris you need to include <sys/mkdev.h> as well.

cc -V gives:
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
uname -a gives:
SunOS zelda 5.9 Generic_117171-07 sun4us sparc FJSV,GPUZC-M

----------
components: Extension Modules
messages: 73562
nosy: sandberg
severity: normal
status: open
title: os.mknod missing on Solaris
type: behavior
versions: Python 2.5

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3928>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to