Fix LAMP stack compilation on Raspberry Pi 4
Many cmmi components dependencies of LAMP stack fail to compile on Raspberry Pi 4, all for the same reason : configure fails with "error: cannot guess build type; you must specify one" because config.guess is too old (often 2002 or 2006).
To fix, we can either upgrade the component to a more recent version (which will likely include a more recent config.guess) or directly replace the config.guess with a more recent one on the fly (component/gnu-config serves to provide the more recent version, and a simple pre-configure-hook does the replacement).
Below is a list of changed components:
-
readline(formariadb): Version up (the recentreadlinealready existed, butmariadbstill used oldreadline5) -
libmcrypt(forphp): Remove because no longer maintained. If we still need it, we can fix theconfig.guessinstead -
groff: Version up 1.22.4 -
texinfo 7.0forgroff1.22.4: Add[texinfo7]instead of upgrading[texinfo]which uses[texinfo4]on purpose -
openldap: Version up 2.6.3 -
xorg-xproto,xextproto&renderproto: Replaceconfig.guessbecause they are already at the latest version -
jasper: Replaceconfig.guessbecause more recent version now usecmake, so this was easier -
dropbear: Replaceconfig.guessbecause we use an older version on purpose -
sed: Version up 4.9
Working compilation on Raspberry Pi 4 is needed urgently for the upcoming tutorial article in Programmez!