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

2010-09-02 Thread Misael Henriquez
Misael Henriquez added the comment: Thanks for your attention to this issue. It sounds like you're onto something regarding the stand-in function not getting exported. I'm not sure what to check next, though. >From pyconfig.h: /* Define to 1 if you have the `round' func

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

2010-09-02 Thread Misael Henriquez
Misael Henriquez added the comment: The check for round failed during configure. I included a bit of that in my second note above. Here's a bit more of the output: collect2: ld returned 1 exit status configure:11989: $? = 1 configure: failed program was: | /* confdefs.h */ | #d

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

2010-09-02 Thread Misael Henriquez
Misael Henriquez added the comment: The problem appears to be the lack of a round function in Solaris 9. This compiles find in Solaris 10, but I need it in Solaris 9. configure:11989: checking for round configure:11989: gcc -o conftest -g -O2 conftest.c -lresolv -lsocket -lnsl -lrt -ldl

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

2010-09-02 Thread Misael Henriquez
New submission from Misael Henriquez : building 'math' extension$ gcc -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/usr/local/src/python/Python-2.7/Include -I/usr/local/src/python/Python-2.7 -c /usr