[lfs-support] Step 5.4.1 Installation of Cross Binutils errors

Walter P. Little walterplittle at gmail.com
Wed Nov 13 07:16:12 PST 2013


On Wed, Nov 13, 2013 at 2:52 AM, Vasco Almeida <vmsda at netcabo.pt> wrote:

> On 11/13/2013 12:33 AM, Ken Moffat wrote:
> > On Tue, Nov 12, 2013 at 11:31:56PM +0000, Vasco Almeida wrote:
> >
> > Where do I go from here?
> >
>
> >   Find the part of the output with the actual 'Error' message (it might
> > say 'error').  It looks as if the real error was before that warning
> > about makeinfo.  I haven't seen the post where 'make -k' was
> > recommended (I expect it is taking a slow route to reach me), but in
> > general you do NOT want to do that in LFS, except when running test
> > suites.
> >
> >   Since you have barely started, please also check the Host System
> > Requirements in section Vii of the Preface.
> >
> >   Actually, check the Host System Requirements _first_, then (if
> > your host meets _all_ of them : newer versions *probably* work for
> > binutils and gcc), repeat your attempt to compile this, after
> > removing the existing binutils-2.32.2 (I'm assuming you are trying
> > to build LFS-7.4) and binutils-build directories.
> >
> >   But this time, capture the output in a log, for example
> >
> > ../path/to/binutils-source/./configure ... | tee myconflog 2>&1
> >
> >   and then
> >
> > make | tee mybuildlog 2>&1
> >
> >   so that the error messages on stderr ('2') get mixed in.  Then look
> > at the build log in 'view|vim' or 'less' and search for Error [
> > '/Error' ].
> >
> > ĸen
> Thank you for your suggestions, Ken.
>
> I did check the minimum Host System Requirements when I started off (I
> am indeed trying to build LFS-7.4 on Ubuntu 12.04), but rechecked them
> and nothing seems amiss.
>

You may have already done this, but just in case something got missed, for
what it's worth, here's what I had to do to prep a stock Ubuntu 12.04
install for building LFS-7.4:
-  change /bin/sh symlink to point to /bin/bash instead of /bin/dash
-  install the following packages:  build-essential, bison, gawk, texinfo



>
> As for capturing the output, I went about it in two steps:
> /mnt/lfs/sources/binutils-build$ ../binutils-2.23.2/configure
> --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib
> --target=$LFS_TGT --disable-nls --disable-werror > myconflog 2>&1 and,
> after checking there were no errors in myconflog, followed it with
> make > mymakelog 2>&1. The errors in mymakelog were exactly as reported
> in my initial post and in my reply to William Harrington. I can send you
> the log files if you deem it necessary and appropriate.
>
> Thank you for your support. Best regards.
> Vasco
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20131113/cf14579a/attachment.html>


More information about the lfs-support mailing list