nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help! Trying to install nmh on ubuntu


From: norm
Subject: Re: Help! Trying to install nmh on ubuntu
Date: Thu, 19 Dec 2019 10:18:27 -0800

All that seems to have worked find, except that 'make check' complained
a couple of times about not having a text editor. In fact I am generating
and will be sending this message, using nmh, from the ubuntu computer.

Ralph Corderoy <address@hidden> writes:
>Hi Norm,
>
>Here's what I did to build nmh-1.7.1.tar.gz on Ubuntu 18.04.
>
>In short, install these packages to improve the chance of success.
>
>sudo apt-get install \
>libncurses5-dev \
>libreadline-dev \
>libgdbm-compat-dev \
>libgdbm-dev \
>libcurl4-openssl-dev \
>libsasl2-dev \
>libssl-dev
>
>>   Release:   18.04
>>   Codename:  bionic
>...
>> I have given up trying to install nmh from a package, deciding instead
>> to install from the sources.
>
>That might mean either installing from a git clone, or a
>nmh-1.7.1.tar.gz.
>
>Either way, the INSTALL file covers what to do next.  Before starting at
>step 0 for a git clone, or step 1 for the tar file, it says to check the
>MACHINES file for OS-specific instructions.
>
>MACHINES says for Linux that a bunch of packages are required to run,
>build, and test nmh.  However, I found none of those exist on
>Ubuntu 18.04!
>
>On running ./configure with nmh-1.7.1.tar.gz I get the same error that
>you suffer.  To find packages that provide a file called curses.h I did
>
>$ apt-file find -x '/curses\.h$'
>libncurses5-dev: /usr/include/curses.h
>libncursesw5-dev: /usr/include/ncursesw/curses.h
>$
>
>Examining config.log shows that the #include is
>
>#include <curses.h>
>
>Given there's no mention of ‘ncursesw’ there I went with the other
>option and installed libncurses5-dev.
>
>Next ./configure failure:
>
>checking for dbm in ndbm.h... no
>checking for dbm in db.h and db... no
>checking for dbm in ndbm.h and db... no
>checking for dbm in ndbm.h and db1... no
>checking for dbm in ndbm.h and ndbm... no
>checking for dbm in db1/ndbm.h and db1... no
>checking for dbm in gdbm/ndbm.h and gdbm... no
>checking for dbm in gdbm/ndbm.h and gdbm_compat -lgdbm... no
>checking for dbm in ndbm.h and gdbm... no
>checking for dbm in ndbm.h and gdbm_compat -lgdbm... no
>checking for dbm in gdbm-ndbm.h and gdbm_compat... no
>configure: error: could not find a working ndbm library/header combination
>
>Searching for the error:
>
>$ grep 'fatal error' config.log
>...
>conftest.c:45:10: fatal error: ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: db.h: No such file or directory
>conftest.c:45:10: fatal error: ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: db1/ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: gdbm/ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: gdbm/ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: ndbm.h: No such file or directory
>conftest.c:45:10: fatal error: gdbm-ndbm.h: No such file or directory
>$
>
>$ apt-file find -x 'ndbm\.h$'
>freebsd-glue: /usr/include/freebsd/ndbm.h
>libace-dev: /usr/include/ace/os_include/os_ndbm.h
linux-vdso.so.1 (0x00007ffe3cbcf000)
>→         libreadline.so.7 => /lib/x86_64-linux-gnu/libreadline.so.7 
>(0x00007f9e77a0b000)
>libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f9e777e1000)
>libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9e773f0000)
>/lib64/ld-linux-x86-64.so.2 (0x00007f9e77eb3000)
>$
>
>--
>Cheers, Ralph.

    Norman Shapiro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]