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 MrJean1
Recipients MrJean1, loewis
Date 2008-04-05.18:08:11
SpamBayes Score 0.08335547
Marked as misclassified No
Message-id <1207418893.48.0.135358069548.issue2552@psf.upfronthosting.co.za>
In-reply-to
Content
For ctypes to compile with the SUN's C compiler, there is quite a bit of 
tricky asm code which needs to be ported (and tested).  Most of that is 
in libffi and that library is only supported with gcc, it seems.  But 
that is not mentioned explicitly anywhere either, see 
<http://sources.redhat.com/libffi/>.

In any case, the _ctypes module does not compile with SUN C in the 
current situation.  And it is not obvious why.  Making that clear with 
some message that ctypes (rather _ctypes) requires gcc would help and 
might be sufficient.

However, leaving the _ctypes module out altogether would be better. Just 
like other modules which have environment-specific dependencies, for 
example _tkinter.  I'll take a look how that is handled.

/Jean
History
Date User Action Args
2008-04-05 18:08:13MrJean1setspambayes_score: 0.0833555 -> 0.08335547
recipients: + MrJean1, loewis
2008-04-05 18:08:13MrJean1setspambayes_score: 0.0833555 -> 0.0833555
messageid: <1207418893.48.0.135358069548.issue2552@psf.upfronthosting.co.za>
2008-04-05 18:08:11MrJean1linkissue2552 messages
2008-04-05 18:08:11MrJean1create