[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-23 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: It's actually not quite a solution, either. Working your changes into the build process, I *do* get a math module... but it does *not* have a round function. python Python 2.7 (r27, Nov 23 2010, 11:54:39) [GCC 3.3.2] on sunos5 Type help

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-22 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: I have some knowledge of these things, so I'll try to find out what's going on, but I could also upload output and/or debug files here for you to examine, if that helps. If you give me the files you'd like to see from my build, or the commands

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-22 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: I unpacked a fresh tarball, made this change, then did a ./configure and make as normal. Exact same error as originally reported. :( -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-22 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: Certainly! -- Added file: http://bugs.python.org/file19773/pyconfig.h ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9742

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-22 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: ./python Python 2.7 (r27:82500, Nov 22 2010, 10:06:14) [GCC 3.3.2] on sunos5 Type help, copyright, credits or license for more information. import sys print sys.float_repr_style short So it appears, if I follow you, that PY_NO_SHORT_FLOAT_REPR

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-22 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: I don't think there's anything wrong with the setup we've been looking at so far, per se. The libpython2.7.a file produced has the 'round' function like it should: nm libpython2.7.a | grep round [116] | 1360| 696|FUNC |GLOB |0|2

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-19 Thread Doug Shea
Doug Shea doug.s...@gmail.com added the comment: Is there perhaps a work-around we could use to get this to compile and have a math module? Force it to export that 'round' symbol in the core, perhaps? -- nosy: +Doug.Shea ___ Python tracker rep