[issue2552] test_ctypes failed Python 2.6a2 Solaris 10 SUN C
Jean Brouwers
report at bugs.python.org
Sun Apr 6 16:05:23 CEST 2008
Jean Brouwers <MrJean1 at Gmail.com> added the comment:
Agreed. In addition, gcc -v writes to stderr and catching the output
requires redirecting stderr or using os.popen3 or -4. The latter fail
since the select module (needed by subprocess) is still missing at that
time.
Going back to Thomas' comments and before getting into implementation
details, the best way to address the issue might be the following.
If the compiler is not gcc then config option --with-system-ffi *must*
be specified (and a libffi library must exist).
If option --with-system-ffi is not specified and if the compiler is not
gcc, raise an error.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2552>
__________________________________
More information about the Python-bugs-list
mailing list