nmh-workers
[Top] [All Lists]

Re: 'comp' broke after fedora upgrade 29->30 | need help w/ Makefile targets

2019-12-08 18:50:02
On Sun 12/8/19 18:17 -0600 nmh@trodman.com wrote:
After upgrading from fedora 29 to fedora 30, I get

 $ command comp
 comp: error while loading shared libraries: libreadline.so.7: cannot open 
shared object file: No such file or directory

I built nmh using the tar file and make

 $ mhmail -version
 mhmail -- nmh-1.7.1 built 2018-05-19 10:39:15 +0000 on epjdn.zq3q.org

but the build was done in fedora 29 or earlier.

What is best way to fix?  I assume I should back up 
/usr/local/nmh/etc
and then use make to remove the current install. How/which target?

This appears to be a way:

    $ ./configure
    $ make
    $ make install

'comp' is working again.  Is there a better way?

--
thanks,
Tom

--
I did a 

    $ make -B

thinking I might be better off forcing a build of everything,
but that failed early:

    $ make -B; echo retval: $?
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/usr/local/src/nmh/nmh-1.7.1/missing aclocal-1.15 -I m4
    /usr/local/src/nmh/nmh-1.7.1/missing: line 81: aclocal-1.15: command not 
found
    WARNING: 'aclocal-1.15' is missing on your system.
             You should only need it if you modified 'acinclude.m4' or
             'configure.ac' or m4 files included by 'configure.ac'.
             The 'aclocal' program is part of the GNU Automake package:
             <http://www.gnu.org/software/automake>
             It also requires GNU Autoconf, GNU m4 and Perl in order to run:
             <http://www.gnu.org/software/autoconf>
             <http://www.gnu.org/software/m4/>
             <http://www.perl.org/>
    make: *** [Makefile:1678: aclocal.m4] Error 127
    retval: 2
    $ rpm -q autoconf -q automake
    autoconf-2.69-31.fc30.noarch
    automake-1.16.1-13.fc30.noarch

so I re-ran

    $ make

which had almost nothing to do since, I had run it after configure earlier.
Then I did the 'make install'.

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