Perfect.

Thanks Bruce.


On 28 January 2014 07:00, <lfs-dev-requ...@linuxfromscratch.org> wrote:

> Send lfs-dev mailing list submissions to
>         lfs-dev@linuxfromscratch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> or, via email, send a message with subject or body 'help' to
>         lfs-dev-requ...@linuxfromscratch.org
>
> You can reach the person managing the list at
>         lfs-dev-ow...@linuxfromscratch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lfs-dev digest..."
>
>
> Today's Topics:
>
>    1.  util-linux chapter 5 (cannot find -ltinfo) (David Buchan)
>    2. Re:  util-linux chapter 5 (cannot find -ltinfo) (Bruce Dubbs)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Jan 2014 22:57:18 +0000
> From: David Buchan <davidsbuc...@gmail.com>
> Subject: [lfs-dev] util-linux chapter 5 (cannot find -ltinfo)
> To: lfs-dev@linuxfromscratch.org
> Message-ID:
>         <
> caosfdnfqk33pe5x76sm7kcghf5lxnk1qy+w-_kak9oyyw3z...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I'm getting the following error when compiling util-linux in chapter 5.
> Tried from dev 2014 onwards.
>   CCLD     more
>
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
> cannot find -ltinfo
> collect2: error: ld returned 1 exit status
> Makefile:5603: recipe for target 'more' failed
> make[2]: *** [more] Error 1
> make[2]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> Makefile:10303: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> Makefile:4315: recipe for target 'all' failed
> make: *** [all] Error 2
>
> The above error comes with MAKEFLAGS unset. If it is set to -j 4 then I
> get:
> fdisks/cfdisk.c: In function 'get_string':
> fdisks/cfdisk.c:465:20: warning: comparison between signed and unsigned
> integer expressions [-Wsign-compare]
>   if ((c = getch()) == ERR) {
>
> and
>
> unknown-linux-gnu/bin/ld: cannot find -ltinfo
> collect2: error: ld returned 1 exit status
> Makefile:6251: recipe for target 'ul' failed
>
> I've tried stabbing in the dark with --disable-ul but the error moves onto
> something else.
> Any ideas?
>
> Ta
>
> David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://linuxfromscratch.org/pipermail/lfs-dev/attachments/20140127/203a4046/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Jan 2014 17:07:08 -0600
> From: Bruce Dubbs <bruce.du...@gmail.com>
> Subject: Re: [lfs-dev] util-linux chapter 5 (cannot find -ltinfo)
> To: LFS Developers Mailinglist <lfs-dev@linuxfromscratch.org>
> Message-ID: <52e6e69c.8040...@gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> David Buchan wrote:
> > Hi,
> >
> > I'm getting the following error when compiling util-linux in chapter 5.
> > Tried from dev 2014 onwards.
> >    CCLD     more
> >
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
> > cannot find -ltinfo
> > collect2: error: ld returned 1 exit status
> > Makefile:5603: recipe for target 'more' failed
> > make[2]: *** [more] Error 1
> > make[2]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> > Makefile:10303: recipe for target 'all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> > Makefile:4315: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > The above error comes with MAKEFLAGS unset. If it is set to -j 4 then I
> get:
> > fdisks/cfdisk.c: In function 'get_string':
> > fdisks/cfdisk.c:465:20: warning: comparison between signed and unsigned
> > integer expressions [-Wsign-compare]
> >    if ((c = getch()) == ERR) {
> >
> > and
> >
> > unknown-linux-gnu/bin/ld: cannot find -ltinfo
> > collect2: error: ld returned 1 exit status
> > Makefile:6251: recipe for target 'ul' failed
> >
> > I've tried stabbing in the dark with --disable-ul but the error moves
> onto
> > something else.
> > Any ideas?
>
> Try:
>
>
> ./configure --prefix=/tools                \
>              --disable-makeinstall-chown    \
>              --without-systemdsystemunitdir \
>              PKG_CONFIG=""
>
>    -- Bruce
>
>
> ------------------------------
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
>
> End of lfs-dev Digest, Vol 2288, Issue 1
> ****************************************
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to