I spent quite a bit of time trying to build emacs on RHEL5.7, to no avail.
Then, back to the google, and
I found a repo with emacs23 RPMs for CentOS/RHEL 5.x.
The latest version of Emacs on RHEL5 is 21. Essentially, RHEL/CentOS is aimed at the enterprise server market, which is far more concerned with stability than bleeding edge functionality.
I spent quite a bit of time trying to build emacs on RHEL5.7, to no avail. Then, back to the google, and I found a repo with emacs23 RPMs for CentOS/RHEL 5.x.
http://puias.princeton.edu/data/puias/unsupported/5.7/x86_64/
To use it, use the bundled emacs21 to create a text file in
/etc/yum.repos.d/puias-unsupported.repo
.It should have these contents:
Then, use it like this:
The RPMs are:
If you install it this way, it will be placed into
/usr/emacs23/
. It does not replace the existing emacs21.There is also a nox version of emacs23 in that repo. And a bunch of other stuff.
Additionally, to make it work correctly and prevent warnings, I did the following:
You could grab the source RPMS from a recent Fedora (or RHEL6) release and then rebuild them yourself.
The latest version of Emacs on RHEL5 is 21. Essentially, RHEL/CentOS is aimed at the enterprise server market, which is far more concerned with stability than bleeding edge functionality.
See this other post for a bit more explanation.
--Christopher Karel