This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sandberg
Recipients sandberg
Date 2008-09-22.09:38:52
SpamBayes Score 2.934572e-08
Marked as misclassified No
Message-id <1222076334.46.0.231050042066.issue3928@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-09-22 09:38:54sandbergsetrecipients: + sandberg
2008-09-22 09:38:54sandbergsetmessageid: <1222076334.46.0.231050042066.issue3928@psf.upfronthosting.co.za>
2008-09-22 09:38:53sandberglinkissue3928 messages
2008-09-22 09:38:52sandbergcreate