Opened 7 years ago

Closed 7 years ago

#1102 closed task (fixed)

Remove libcurses links/scripts

Reported by: chris@… Owned by: clfs-commits@…
Priority: major Milestone:
Component: BOOK Version:
Keywords: Cc: berzerkula@…, jonathan@…, chris@…, cross-lfs@…


I believe that in the final-system Ncurses installation, the commands to create libcurses symlinks and linker scripts are not needed. As I understand it, those are for older packages that don't know about Ncurses yet, but I've seen very few packages that need them on my current system. No base CLFS packages need any changes, and the only libcurses references I've seen at all were in Inetutils (does not build the talk program if libcurses is not found) and Nethack (Makefile needed to be updated to use libncurses). Specifically, the change in the book would look like this:

diff --git a/BOOK/final-system/common/ncurses.xml b/BOOK/final-system/common/ncurses.xml
index 3175374..afce66c 100644
--- a/BOOK/final-system/common/ncurses.xml
+++ b/BOOK/final-system/common/ncurses.xml
@@ -91,12 +91,10 @@ rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen>
     scripts and symbolic links to allow older and non-widec compatible
     programs to build properly:</para>
-<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
+<screen os="m"><userinput>for lib in ncurses form panel menu ; do
         echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
         ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
-ln -sfv /usr/lib/
-ln -sfv libncursesw.a /usr/lib/libcursesw.a
 ln -sfv libncurses++w.a /usr/lib/libncurses++.a
 ln -sfv ncursesw6-config /usr/bin/ncurses6-config</userinput></screen>

Is there any reason to keep those links still? Are there any other packages that still need them?

Attachments (1)

ncurses.patch (3.4 KB) - added by chris@… 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by chris@…

Attachment: ncurses.patch added

comment:1 Changed 7 years ago by chris@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.