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 rpetrov
Recipients barry, jcea, loewis, movement, pitrou, rpetrov, sandberg
Date 2010-03-22.21:24:36
SpamBayes Score 1.2622549e-09
Marked as misclassified No
Message-id <1269293078.91.0.0925374013607.issue3928@psf.upfronthosting.co.za>
In-reply-to
Content
>>> "HAVE_DEVICE_MACROS" is defined if "configure" finds "makedev()" macro.
>> And what is result on you platform ?
>It is defined if I add the new "include".

a) Why you touch test case for "AC_MSG_CHECKING(for major, minor, and makedev)
AC_TRY_LINK([
#if defined(MAJOR_IN_MKDEV)
#include <sys/mkdev.h>
#elif defined(MAJOR_IN_SYSMACROS)
#include <sys/sysmacros.h>
#else
#include <sys/types.h>
#endif
],[
  makedev(major(0),minor(0));
],[
  AC_DEFINE(HAVE_DEVICE_MACROS, 1,
	    [Define to 1 if you have the device macros.])
  AC_MSG_RESULT(yes)
],[
  AC_MSG_RESULT(no)
])"
?
Sorry I did't understand why this test case fail for you.


b) PEP 11 list unsupported platforms and OSF1 is not listed.

c) So code if from revision 27820 that fix "SF patch #584245, get python to link on OSF1 (Dec Unix)" . The current patch as is will break OSF1 and other OS-es (as example linux don't define this header). Just adding new include will fail test case and will left as undefined HAVE_MAKEDEV => mknod won't be added for those platforms.
History
Date User Action Args
2010-03-22 21:24:38rpetrovsetrecipients: + rpetrov, loewis, barry, jcea, pitrou, movement, sandberg
2010-03-22 21:24:38rpetrovsetmessageid: <1269293078.91.0.0925374013607.issue3928@psf.upfronthosting.co.za>
2010-03-22 21:24:37rpetrovlinkissue3928 messages
2010-03-22 21:24:36rpetrovcreate