[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59811] terminal libraries needed on configure just after less
From: |
Mohammad Akhlaghi |
Subject: |
[bug #59811] terminal libraries needed on configure just after less |
Date: |
Sun, 3 Jan 2021 21:07:15 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0 |
Update of bug #59811 (project reproduce):
Category: None => Software
Item Group: None => Crash
Status: None => Fixed
Assigned to: None => makhlaghi
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Thanks a lot for reporting this Boud! I checked it in a Docker image (which is
Debian-slim) and was able to reproduce the problem.
Looking into the 'configure' script of 'less', I found that the cause of the
failure is that it can't find these library functions: 'tgetent', 'tgetflag',
'tgetnum', 'tgetstr'. Searching their names pointed me to the cause:
These library functions are provided by 'ncurses' and until now 'less' was
built in parallel with 'ncurses' (they both only depended on 'patchelf'). This
is the reason that it was built on your second run (because you had 'ncurses'
on the second run).
So in Commit 31f4ea3faf6
<http://git.maneage.org/project.git/commit/?id=31f4ea3faf6d357ae5889dc4aa9bd5b5457243ce>,
I set 'less' to depend on 'ncurses' and this fixed the problem was fixed in a
new Docker image (on the first run).
I am closing this task since the problem appears to be fixed. But please check
on your system too and if you still see the error, please re-open the bug so
we look closer into it.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?59811>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/