Re: [Makefile:1063: 828-ncurses] Error 1

"Marcin Dulak" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sat, 7 Jun 2025 18:20:04 +0200
Newsgroups gmane.linux.lfs.automated
Message-ID <CABJoABZT-aFeJCZMqaYnPd+ZE2HRevYObLkUnaFK6OW-G-Ts_g@mail.gmail.com>
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?

> --
> Xi Ruoyao <[email protected]>
> School of Aerospace Science and Technology, Xidian University
> --
> http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
> Unsubscribe: See the above information page

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page