[Python-Dev] Compiling 2.7.2 on OS/2 (original) (raw)

Amaury Forgeot d'Arc amauryfa at gmail.com
Thu Jan 5 15:02:44 CET 2012


2012/1/5 Paul Smedley <paul at smedley.id.au>

Hi All,

I'm working on updating my port of Python 2.6.5 to v2.7.2 for the OS/2 platform. I have python.exe and python27.dll compiling find, but when starting to build sharedmods I'm getting the following error: running build running buildext Traceback (most recent call last): File "./setup.py", line 2092, in main() File "./setup.py", line 2087, in main 'Lib/smtpd.py'] File "U:/DEV/python-2.7.2/Lib/**distutils/core.py", line 152, in setup dist.runcommands() File "U:/DEV/python-2.7.2/Lib/**distutils/dist.py", line 953, in runcommands self.runcommand(cmd) File "U:/DEV/python-2.7.2/Lib/**distutils/dist.py", line 972, in runcommand cmdobj.run() File "U:/DEV/python-2.7.2/Lib/**distutils/command/build.py", line 127, in run self.runcommand(cmdname) File "U:/DEV/python-2.7.2/Lib/**distutils/cmd.py", line 326, in runcommand self.distribution.runcommand(**command) File "U:/DEV/python-2.7.2/Lib/**distutils/dist.py", line 972, in runcommand cmdobj.run() File "U:/DEV/python-2.7.2/Lib/**distutils/command/buildext.**py", line 340, in run self.buildextensions() File "./setup.py", line 152, in buildextensions missing = self.detectmodules() File "./setup.py", line 1154, in detectmodules for arg in sysconfig.getconfigvar("**CONFIGARGS").split()] AttributeError: 'NoneType' object has no attribute 'split' make: *** [sharedmods] Error 1

Any suggestions? A google showed a similar error on AIX with no clear resolution.

Is it in the part that configures the "dbm" module? This paragraph is already protected by a "if platform not in ['cygwin']:", I suggest to exclude 'os2emx' as well.

-- Amaury Forgeot d'Arc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120105/29ddebbf/attachment.html>



More information about the Python-Dev mailing list