Re: [Makefile:1063: 828-ncurses] Error 1
"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sat, 07 Jun 2025 19:50:02 +0200
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2025-06-07 at 18:20 +0200, Marcin Dulak wrote: > On Sat, Jun 7, 2025 at 5:30 PM Xi Ruoyao > <[email protected]> wrote: > > > > On Sat, 2025-06-07 at 17:01 +0200, Marcin Dulak wrote: > > > > /* snip */ > > > > > Here is the content of lib, showing the first two links in red, > > > broken. > > > ls -latr $LFS/sources/ncurses-6.5-20250531/dest/usr/lib/ > > > lrwxrwxrwx 1 root root 18 Jun 7 11:29 libncursesw.so.6 -> > > > libncursesw.so.6.5 > > > lrwxrwxrwx 1 root root 16 Jun 7 11:29 libncursesw.so -> > > > libncursesw.so.6 > > > > The book has: > > > > make DESTDIR=$PWD/dest install > > install -vm755 dest/usr/lib/libncursesw.so.6.5 /usr/lib > > rm -v dest/usr/lib/libncursesw.so.6.5 > > sed -e 's/^#if.*XOPEN.*$/#if 1/' \ > > -i dest/usr/include/curses.h > > cp -av dest/* / > > > > So yes we removed dest/usr/lib/libncursesw.so.6.5, explicitly, and > > after > > the rm -v command there will be dangling symlinks. And the > > paragraph > > above this command has already explained why we must do that. > > > > Again the LFS book is a book for human to read, not (just) a script > > collection, thus the text has at least the same importance as the > > commands. Running jhalfs w/o reading the text is not the intended > > use > > of the LFS book. > > > > What could be further suggestions how to debug the "make mk_CHROOT" > problem? I'd say you have to find the _real_ error. In make output, you can grep for "\*\*\*.*Error". Pierre -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page