New submission from Arnon Yaari <[email protected]>:
When running the configure script on Solaris SPARC (versions 10 and 11), the
script fails with the following error:
checking whether float word ordering is bigendian... unknown
configure: error:
Unknown float word ordering. You need to manually preset
ax_cv_c_float_words_bigendian=no (or yes) according to your system.
The configure script uses "grep" on a compiled binary to see how a float
variable is compiled. On Solaris, the regular "grep" command may be an old
version that fails to search in a binary file. The correct command should be
"ggrep" (the GNU grep).
Luckily, Python's configure script already finds this command in an earlier
check:
checking for grep that handles long lines and -e... /usr/bin/ggrep
All we have to do, then, is use the command that configure finds. i.e. replace
"grep" -> "$GREP".
----------
components: Build
messages: 354941
nosy: wiggin15
priority: normal
severity: normal
status: open
title: configure script fails to detect "float word ordering" on Solaris
versions: Python 3.8, Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38527>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com