Python 2.4

Hello,

I’ve just tried to compile Python 2.4 on QNX6.2.1, and the configure script
fails complaining about the XOPEN_SOURCE not being supported and the
POSIX_C_SOURCE not being compatible with the XOPEN_SOURCE.

Has anyone successfully compiled this latest Python on QNX?

Cheers,
Robert.

Robert Muil wrote:

Hello,

I’ve just tried to compile Python 2.4 on QNX6.2.1, and the configure script
fails complaining about the XOPEN_SOURCE not being supported and the
POSIX_C_SOURCE not being compatible with the XOPEN_SOURCE.

Has anyone successfully compiled this latest Python on QNX?

No … but if this error message is related to X11 windows, then remove
this version check in the appropriate include file.

Regards

Armin

Cheers,
Robert.

Robert Muil wrote:

I’ve just tried to compile Python 2.4 on QNX6.2.1, and the configure script
fails complaining about the XOPEN_SOURCE not being supported and the
POSIX_C_SOURCE not being compatible with the XOPEN_SOURCE.

Has anyone successfully compiled this latest Python on QNX?

I tried it a couple of days ago on 6.3.0, but haven’t had a chance to
clean it up so it actually builds… I suspect changes are necessary in
the various .in files so configure/make works “out of the box”, and I
didn’t have time to get into tracking down autoconf, etc. for that.


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Robert Muil wrote:

Hello,

I’ve just tried to compile Python 2.4 on QNX6.2.1, and the configure script
fails complaining about the XOPEN_SOURCE not being supported and the
POSIX_C_SOURCE not being compatible with the XOPEN_SOURCE.

Has anyone successfully compiled this latest Python on QNX?

Cheers,
Robert.

There is a patch at http://timonin.home.mindspring.com/ (in the bottom
of the page) looks like it works.

Regards

Robert Muil wrote:

Hello,

I’ve just tried to compile Python 2.4 on QNX6.2.1, and the configure script
fails complaining about the XOPEN_SOURCE not being supported and the
POSIX_C_SOURCE not being compatible with the XOPEN_SOURCE.

Has anyone successfully compiled this latest Python on QNX?

Yes … now I compiled it on QNX6.3 after using the good old script
QNXconf.sh (-> attached) in order to run the configuration script.

There are to see just complains about ncurses and some warning …
that’s all. No need to do changes on the configure script …

Here is the result … python 2.4 using shared libraries :slight_smile:


Python 2.4 (#1, Jan 21 2005, 16:36:28)
[GCC 2.95.3] on qnx6
Type “help”, “copyright”, “credits” or “license” for more information.


There is still something to do for recompiling of some extension modules.

Cheers

Armin

Thanks very much all of you.

Robert.

Armin Steinhoff wrote:

Robert Muil wrote:
Hello,

I’ve just tried to compile Python 2.4 on QNX6.2.1, and the configure
script fails complaining about the XOPEN_SOURCE not being supported
and the POSIX_C_SOURCE not being compatible with the XOPEN_SOURCE.

Has anyone successfully compiled this latest Python on QNX?

Yes … now I compiled it on QNX6.3 after using the good old script
QNXconf.sh (-> attached) in order to run the configuration script.

There are to see just complains about ncurses and some warning …
that’s all. No need to do changes on the configure script …

Here is the result … python 2.4 using shared libraries > :slight_smile:


Python 2.4 (#1, Jan 21 2005, 16:36:28)
[GCC 2.95.3] on qnx6
Type “help”, “copyright”, “credits” or “license” for more information.


There is still something to do for recompiling of some extension
modules.

Cheers

Armin