Tarek Ziade wrote:
2009/1/31 Floris Bruynooghe <floris.bruynooghe@gmail.com>:
I'm leaning more and more toward this is actually a bug with the distutils source on Solaris.
Yes, I agree now that it is a bug in distutils and I agree with your fix. The if statement should check both that it is SunOS and that it is using a shared python, just like the linux one. If fact the linux one could just be modified:
if (sys.paltform.startswith('linux') \ or sys.platform.startswith('gnu') \ or sys.platform.startswith('sunos')) \ and sysconfig.get_config_var('Py_ENABLE_SHARED'): ...
I'll leave the honours of reporting the bug to you if you agree with this.
Yes thanks to report this, I'll apply your fix,
Regards Tarek
Hi Tarek, It isn't clear to me if you fixed it already or were waiting for my patch, but I just added issue 5132 to the Python issue tracker to document the issue and provide a patch file. -- Dave