RE: [Python-Dev] problems building Python 2.1a1 on QNX 4.25
Marc-Andre Lemburg's patch to posixpath.py clears up the path problem. Thanks! MACHDEP is qnxJ for QNX 4.25, qnxG for QNX 4.23. I don't know what it is for QNX 6 (Neutrino). Perhaps test for MACHDEP[:3]=='qnx'? I'm still stuck at 'python setup.py build': unable to execute ld: no such file or directory running build running build_ext building 'struct' extension skipping //5/tmp/py/Python-2.1a1/Modules/structmodule.c (build/temp.qnx-J-PCI-2.1/structmodule.o up-to-date) ld build/temp.qnx-J-PCI-2.1/structmodule.o -L/usr/local/lib -o build/lib.qnx-J-PCI-2.1/struct.so error: command 'ld' failed with exit status 1 make: *** [sharedmods] Error 1 Armin Steinhoff said "QNX4 doesn't support dynamic loading". Is this compatible with distutils? If not, is there a workaround? Neil Schemenauer asked, "what should LDSHARED say for QNX?". I don't know. Python 2.0 compiled OK, and its makefile says LDSHARED=ld. However, Modules/Setup has no uncommented "*shared*" line. Those of us who rely on Python to get our work done, and who don't have the bandwidth for the implementation complexities, owe a lot to everyone who makes it possible to compile Python out-of-the-box. Very much appreciated. Thank you! David Goodger Systems Administrator & Programmer, Advanced Systems Automation Tooling Systems Inc., Automation Systems Division direct: (519) 653-4483 ext. 7121 fax: (519) 650-6695 e-mail: dgoodger@atsautomation.com
On Mon, Jan 29, 2001 at 11:19:12AM -0500, Goodger, David wrote:
I'm still stuck at 'python setup.py build': ... Armin Steinhoff said "QNX4 doesn't support dynamic loading". Is this compatible with distutils? If not, is there a workaround?
The setup.py script only builds shared modules. Your going to have to enable modules using the old Setup file. I think Setup.dist should got back to including all the modules (commented out of course). This would make it easier to people who can't or don't want to build shared modules. Neil
participants (2)
-
Goodger, David
-
Neil Schemenauer