nmh-workers
[Top] [All Lists]

Re: Just updated from CentOS 7 to Rocky Linux 8.5 and can't find nmh anywhere

2022-02-21 20:11:27
Tom wrote:

Ken Hornstein <kenh@pobox.com> writes:

Hm.  I'm a little unclear how that works, actually!  I thought that
Rocky Linux got stuff from Fedora, and we're in Fedora?  Maybe?
Shoot, I admit that I have NO idea!  But I am sure that the people that
DO have an idea are on this list.

That's right, I'm a Fedora packager for nmh.  It's in the repos
for Fedora itself.  It was in RHEL 4 through 6.  I just tried
building for EPEL7 but haven't had success.  The error reporting
isn't helpful ("Command failed") so I'm giving up for now.

But you can typically build any Fedora package
on RHEL pretty easily, as long as you pick the Fedora version that
your version of RHEL branched off from.

Or to build nmh 1.7.1 from the nmh repo:
1. install the prerequisite packages listed in
https://git.savannah.nongnu.org/cgit/nmh.git/tree/MACHINES
2. wget http://git.savannah.gnu.org/cgit/nmh.git/plain/build_nmh
3. sh build_nmh -div -b 1.7-release
and respond to the prompts.  Though I just tried that and hit a
minor test failure, looks like due to a change in bison.
"make install" will still work.

One other thing to worry about is that RHEL might not even carry
the prerequisites of the package you want.  When rebuilding
nmh-1.7.1-7 on RHEL8, I found I needed perl-NKF which is not in
base RHEL8.  Fortunately you can get it from the codeready repo.

I'm surprised that perl-NKF, or any perl package, is needed.

David

<Prev in Thread] Current Thread [Next in Thread>