bug-ncurses
[Top][All Lists]
Advanced

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

Installation crashes at tic terminal 'lpr': can't link l/lpr to p/printe


From: Moritz Scham
Subject: Installation crashes at tic terminal 'lpr': can't link l/lpr to p/printer [local installation/CentOS7/ncurses 6.2]
Date: Mon, 18 Jan 2021 11:23:41 +0100

Dear Developers,
I'm trying to locally install ncurses 6.2 (same result with 6.1) on a CentOS7 system, because I don't have root access on the system and I want to use a recent version of tmux.
Therefore the $PREFIX points to a folder in in my $HOME (and $PATH contains $PREFIX/bin, $LD_LIBRARY_PATH contains $PREFIX/lib).

The following script runs the installation:
```
    wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-${NCURSES_VERSION}.tar.gz
    tar xvzf ncurses-${NCURSES_VERSION}.tar.gz
    cd ncurses-${NCURSES_VERSION}
    ./configure \
        --prefix=$PREFIX \
        --with-default-terminfo-dir=/usr/share/terminfo \
        --with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo:$PREFIX/share/terminfo"
    make -j$CORES
    make install
```

During the make install step, the following error message appears:

```
make[1]: Entering directory `$HOME/tmux_tmp/ncurses-6.2/misc'
mkdir -p $PREFIX/share/tabset
DESTDIR= \
prefix=$PREFIX \
exec_prefix=$PREFIX \
bindir=$PREFIX/bin \
top_srcdir=.. \
srcdir=. \
datadir=$PREFIX/share \
ticdir=/usr/share/terminfo \
source=terminfo.tmp \
cross_compiling=no \
/bin/sh ./run_tic.sh
** Building terminfo database, please wait...
Running tic to install /usr/share/terminfo ...

You may see messages regarding extended capabilities, e.g., AX.
These are extended terminal capabilities which are compiled
using
tic -x
If you have ncurses 4.2 applications, you should read the INSTALL
document, and install the terminfo without the -x option.

"terminfo.tmp", line 1115, col 36, terminal 'fbterm': limiting value of `pairs' from 0x10000 to 0x7fff
......
"terminfo.tmp", line 7641, col 36, terminal 'dvtm-256color': limiting value of `pairs' from 0x10000 to 0x7fff
"terminfo.tmp", line 310, terminal 'lpr': can't link l/lpr to p/printer
? tic could not build /usr/share/terminfo
make[1]: *** [install.data] Error 1
make[1]: Leaving directory `$HOME/tmux_tmp/ncurses-6.2/misc'
make: *** [install] Error 2
```
Attached please find the full log.

Cheers,
Moritz

Attachment: ncurses.log
Description: Text Data


reply via email to

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