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 hniksic
Recipients hniksic
Date 2007-12-16.20:22:53
SpamBayes Score 0.0352235
Marked as misclassified No
Message-id <>
The printf("%zd", ...) configure test fails on Linux, although it
supports the %zd format.  config.log reveals that the test tests for %zd
with Py_ssize_t, which is (within the test) typedeffed to ssize_t.  But
the appropriate system header is not included by the test, and ssize_t
is not defined.  This results in Py_ssize_t not being correctly defined,
and the test failing.

According to, ssize_t is defined in
<sys/types.h>.  Adding #include <sys/types.h> manually to the test fixes
the test for me.  A patch like the one attached should fix the problem.
File name Uploaded
patch hniksic, 2007-12-16.20:22:53
Date User Action Args
2007-12-16 20:22:54hniksicsetspambayes_score: 0.0352235 -> 0.0352235
recipients: + hniksic
2007-12-16 20:22:53hniksicsetspambayes_score: 0.0352235 -> 0.0352235
messageid: <>
2007-12-16 20:22:53hniksiclinkissue1638 messages
2007-12-16 20:22:53hniksiccreate