Fixing gitweb breakage on Red Hat Enterprise Linux 3Edit
One of the problems with Red Hat Enterprise Linux 3 is that it ships with a very old version of Perl and the associated modules are very old too.
During one of my Git upgrades (see "Upgrading to Git 1.5.3.1 on Red Hat Enterprise Linux") my gitweb installation broke. This was due to this commit, which requires a newer version of the Encode module than I had installed.
I tried to upgrade the module but failed to do so due to failing tests; I expect that the cause was the age of Perl and the other modules on the system. I eventually deemed that forcing the install to proceed was the most viable option (the other would be patching gitweb.cgi
).
Unfortunately, when Red Hat pushes out automated updates containing security fixes for Perl this can overwrite the newer version of the Encode module with an older one, thus breaking my gitweb installation. When this occurs it is necessary to reinstall the module as described in "Upgrading to Git 1.5.3.1 on Red Hat Enterprise Linux"). If this starts happening too frequently I think I’ll just patch gitweb (inconvenient, seeing as it will require me to re-patch it every time I install a new version).