<br><br><div class="gmail_quote">2012/1/5 Paul Smedley <span dir="ltr"><<a href="mailto:paul@smedley.id.au">paul@smedley.id.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
I'm working on updating my port of Python 2.6.5 to v2.7.2 for the OS/2 platform.<br>
<br>
I have python.exe and python27.dll compiling find, but when starting to build sharedmods I'm getting the following error:<br>
running build<br>
running build_ext<br>
Traceback (most recent call last):<br>
File "./setup.py", line 2092, in <module><br>
main()<br>
File "./setup.py", line 2087, in main<br>
'Lib/smtpd.py']<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/core.py", line 152, in setup<br>
dist.run_commands()<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/dist.py", line 953, in run_commands<br>
self.run_command(cmd)<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/dist.py", line 972, in run_command<br>
cmd_obj.run()<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/command/build.py", line 127, in run<br>
self.run_command(cmd_name)<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/cmd.py", line 326, in run_command<br>
self.distribution.run_command(<u></u>command)<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/dist.py", line 972, in run_command<br>
cmd_obj.run()<br>
File "U:/DEV/python-2.7.2/Lib/<u></u>distutils/command/build_ext.<u></u>py", line 340, in run<br>
self.build_extensions()<br>
File "./setup.py", line 152, in build_extensions<br>
missing = self.detect_modules()<br>
File "./setup.py", line 1154, in detect_modules<br>
for arg in sysconfig.get_config_var("<u></u>CONFIG_ARGS").split()]<br>
AttributeError: 'NoneType' object has no attribute 'split'<br>
make: *** [sharedmods] Error 1<br>
<br>
<br>
Any suggestions? A google showed a similar error on AIX with no clear resolution.<br></blockquote><div><br></div><div>Is it in the part that configures the "dbm" module?</div><div>This paragraph is already protected by a "if platform not in ['cygwin']:",</div>
<div>I suggest to exclude 'os2emx' as well.</div><div><font color="#000088" face="monospace" size="3"><span style="line-height:16px;white-space:pre"><br></span></font></div></div>-- <br>Amaury Forgeot d'Arc<br>