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.035223458
Marked as misclassified No
Message-id <1197836573.7.0.318332454178.issue1638@psf.upfronthosting.co.za>
In-reply-to
Content
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 http://tinyurl.com/3dhbbm/, 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.
Files
File name Uploaded
patch hniksic, 2007-12-16.20:22:53
History
Date User Action Args
2007-12-16 20:22:54hniksicsetspambayes_score: 0.0352235 -> 0.035223458
recipients: + hniksic
2007-12-16 20:22:53hniksicsetspambayes_score: 0.0352235 -> 0.0352235
messageid: <1197836573.7.0.318332454178.issue1638@psf.upfronthosting.co.za>
2007-12-16 20:22:53hniksiclinkissue1638 messages
2007-12-16 20:22:53hniksiccreate