[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: curses(3) symlink is not installed when building out of tree
From: |
Thomas Dickey |
Subject: |
Re: curses(3) symlink is not installed when building out of tree |
Date: |
Thu, 19 Jan 2023 19:26:24 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Jan 19, 2023 at 06:59:48PM +0100, Sven Joachim wrote:
> When building ncurses out of tree, the curses(3) symlink to the ncurses
> manpage does not get installed. See the attached test script which
> prints
>
> Only in /tmp/in-tree.<XXXXXX>/usr/share/man/man3: curses.3ncurses
>
> on my system (on non-Debian systems, it will be curses.3x instead what
> is missing).
>
> Looking at the ncurses-doc package on snapshot.debian.org, this feature
> has been broken at least since the 20130119 patchlevel, but more likely
> since its introduction in the 20110910 patchlevel.
hmm - not quite that old. I have a tree under /usr/local/ncurses which isn't
packaged (but not purged) that has that link created in September 2012. Most
of my attention has been on the test-packages, of course, rather than
non-package builds.
I'll take a look and see how to improve this :-)
> Besides Debian, at least Fedora seems to be affected. In Debian, I have
> been creating the missing symlink myself since somebody had asked for it
> in https://bugs.debian.org/859293.
>
> Cheers,
> Sven
>
> #!/bin/sh
> set -e
>
> DIR1=$(mktemp -d /tmp/in-tree.XXXXXX)
> DIR2=$(mktemp -d /tmp/out-of-tree.XXXXXX)
>
> ./configure --with-install-prefix="$DIR1" --with-manpage-format=normal
> make install.man
>
> [ -d build ] || mkdir build
> cd build
> ../configure --with-install-prefix="$DIR2" --with-manpage-format=normal
> make install.man
>
> diff -qr "$DIR1" "$DIR2"
> # rm -rf "$DIR1" "$DIR2"
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature