[Python-Dev] problems building Python 2.1a1 on QNX 4.25
Mon, 29 Jan 2001 11:19:12 -0500
Marc-Andre Lemburg's patch to posixpath.py clears up the path problem.
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
building 'struct' extension
ld build/temp.qnx-J-PCI-2.1/structmodule.o -L/usr/local/lib -o
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.
Systems Administrator & Programmer, Advanced Systems
Automation Tooling Systems Inc., Automation Systems Division
direct: (519) 653-4483 ext. 7121 fax: (519) 650-6695