Update Unix requirements section
C99 is required as of https://github.com/php/php-src/commit/b51a99ae358b3295de272bb3c3edb6913eeb0fd4.
There is likely more to update on that page. If anybody happens to know which versions exactly, please tell me. Otherwise I'll check that out.
PS: The info about bison and r2c versions is apparently up-to-date.
I was wondering about autoconf, automake and libtool requirements, but couldn't find any version in the sources so far. Not even sure if these are needed; I think at least autoconf is not necessary when building a proper release.
And we should note that re2c and bison are only required to rebuilt the parsers, what is usually not what users want to do. Maybe remove that part altogether and link to some developer docs (maybe just https://github.com/php/php-src?tab=readme-ov-file#building-php-source-code).
I'll have a closer look at this as soon as possible.
I was wondering about autoconf, automake and libtool requirements, but couldn't find any version in the sources so far. Not even sure if these are needed; I think at least autoconf is not necessary when building a proper release.
@petk, do you happen to know about autoconf, automake and libtool version requirements, or where they can be looked up the source code?
I was wondering about autoconf, automake and libtool requirements, but couldn't find any version in the sources so far. Not even sure if these are needed; I think at least autoconf is not necessary when building a proper release.
@petk, do you happen to know about autoconf, automake and libtool version requirements, or where they can be looked up the source code?
Autoconf, re2c and Bison were already rechecked and updated via #3346. They are ok. Minimum versions are defined in the configure.ac. And that Automake and Libtool should be removed as they are not required. But I'll re-check why are they even listed there. The bundled Libtool unfortunately couldn't be updated to the latest version for PHP-8.4 yet (https://github.com/php/php-src/pull/13476). Will be done in the next version.
The Libtool and Automake can be removed from this page. Automake was once needed in PHP and some parts needed the aclocal tool which is part of the Automake package. The Libtool was also used a bit inconsistently and there were glitches with versions and the bundled libtool (probably) so therefore it was needed.
https://www.php.net/git.php#buildconf_fail
About updating this bundled Libtool, I would keep the bundled way only. Because there is also an option to use the system Libtool (latest version) and some PHP installations do that already. But it is much easier to have a shorter list of requirements in the docs.
Also this php.net/git.php page can be probably updated at the bottom (we've left this out back then a bit). But I'll still keep these historical notes on my own somewhere to understand the changes across the versions. https://github.com/petk/php-build-system/blob/master/docs/evolution.md :D