macOS configure: validate each Python 3 candidate's version before selecting it

The Darwin python-detection probe picked the first executable path that
existed, then hard-failed later if its hexversion was below the 3.11 floor.
On a host where /usr/bin/python3 is Apple's old Command Line Tools stub
(< 3.11) but a newer interpreter (Homebrew, MacPorts, pyenv) is available
via PATH, this meant configure errored out instead of finding the usable
one. Check each candidate's sys.hexversion inline and keep scanning until
one actually satisfies the floor.
1 file changed
tree: 844328b240664487ad49210d0c22c1d46aea0839
  1. .github/
  2. ext_libraries/
  3. ext_sources/
  4. extras/
  5. main/
  6. test/
  7. .asf.yaml
  8. .gitignore
  9. .pre-commit-config.yaml
  10. AOO-trunk.md
  11. LICENSE
  12. Makefile
  13. README.md
  14. requirements-dev.txt
README.md

Apache OpenOffice®

The Apache OpenOffice project (AOO) provides a full featured office productivity suite based on open standards. It is the continuation of the OpenOffice.org project.

For detailed information about Apache OpenOffice please visit the Project Website.

Apache OpenOffice is a very large project with many components and mainly implemented in C++ but also in Java, Perl, Python and other languages.

Currently supported platforms include:

  • Microsoft Windows
  • macOS (OS X)
  • Linux variants
  • FreeBSD
  • OS/2

OpenOffice is used by millions of users worldwide and with more than 398 million downloads it is one of the most successful open source projects.

Getting the latest sources via Git

You can always checkout the latest source via Git using the following command:

git clone https://gitbox.apache.org/repos/asf/openoffice.git aoo

For further information visit https://openoffice.apache.org/source.html.

Building Apache OpenOffice

Apache OpenOffice is a big project and depends on several other external libraries.
The list of prerequisites varies for the different platforms.

A comprehensive and complete building guide can be found in the Project Wiki.

With having all prerequisites in place you can simply run

cd aoo/main
autoconf
./configure <configure_switches>
./bootstrap
source *.Set.sh
cd instsetoo_native
build --all

Note that building OpenOffice can take several hours.

The default build will produce a setup version (e.g. setup program on Windows, dmg on macOS, rpm and deb packages on Linux) and an archived version.
The output can be found in the directory in instsetoo_native/<output_dir>/Apache_OpenOffice/...