Message73562
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 |
|
Date |
User |
Action |
Args |
2008-09-22 09:38:54 | sandberg | set | recipients:
+ sandberg |
2008-09-22 09:38:54 | sandberg | set | messageid: <1222076334.46.0.231050042066.issue3928@psf.upfronthosting.co.za> |
2008-09-22 09:38:53 | sandberg | link | issue3928 messages |
2008-09-22 09:38:52 | sandberg | create | |
|