Patches item #1722225, was opened at 2007-05-20 10:11 Message generated for change (Comment added) made by kraai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1722225&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Python 2.6 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matt Kraai (kraai) Assigned to: Martin v. Löwis (loewis) Summary: Build on QNX Initial Comment: The attached patch makes Python build on QNX. If I submit a similar patch for the 2.5 branch, would it be applied? ---------------------------------------------------------------------- >Comment By: Matt Kraai (kraai) Date: 2007-05-30 06:16 Message: Logged In: YES user_id=1471342 Originator: YES Here's a new patch. It differs from the previous version in that it excludes nis from the list of modules to be built (since QNX does not provide the necessary header files) and allows the ctypes module to be built. Since it modifies libffi's configure.ac, autoconf must be run to regenerate its configure also. File Added: patch ---------------------------------------------------------------------- Comment By: Matt Kraai (kraai) Date: 2007-05-25 19:12 Message: Logged In: YES user_id=1471342 Originator: YES ...and here's another revision. This patch makes sys/termio.h be included before termios.h in order to ensure that TCGETA, TCSETA, TCSETAW, and TCSETAF can be used so that the termios module can be built, sets the stack size to 2 megabytes so that test_compile.py doesn't overflow the stack, and adds some comments to configure.in. With it, the test suite can be run to completion, though there are still a number of errors and failures. Sorry for the churn. File Added: patch ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2007-05-25 12:16 Message: Logged In: YES user_id=849994 Originator: NO Martin, will you take a look? ---------------------------------------------------------------------- Comment By: Matt Kraai (kraai) Date: 2007-05-24 22:29 Message: Logged In: YES user_id=1471342 Originator: YES Here's an updated patch. It's changed relative to the first one in that it makes the workaround for the incompatibility between [n]curses.h and stdlib.h be handled similar to how it's handled for other platforms, it prevents _XOPEN_SOURCE from being defined to allow the socket module to build, and it merges the QNX case for setting LDSHARED. I tried to include the changes to configure and pyconfig.h.in, but that made it too big. If they need to be submitted, please let me how to do so. File Added: patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1722225&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches