--- Em qui, 15/12/11, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
> > I am very impressed with the great improvements in LFS7.0!
> >
> > Very welcomed, the wget-list with corresponding md5sums, and many
> > other additions/editions.
> >
> > Two things happened to me since 6.4:
> >
> > 1. Host System Requirements: version-check.sh gives "... OK", even
> > when packages are missing or wrong. Perhaps I did not understand, but
> > shouldn't it fail.
>
> What it says is "Compilation OK", not that all packages are OK.  It's
> supposed to be a short script to allow the user to visually check the
> actual installed packages.  That's part of the learning process.

Yes, but is it really difficult to drop "Compilation OK" and add "Host System 
Requirements OK/failed" ?


> > 2. Host System Requirements: (I started with pmagic live CD, then
> > decided to build a brand new Ubuntu just to host the LFS build, and
> > delete at the end). In order to obtain in the host
> >
> > /lib/libc.so.6
> >
> > I had to search the web. A symlink was the solution (of course, as I
> > should have anticipated). The library to be linked was found with
> >
> > find / -name "libc-*.so*" 2>/dev/null
> >
> > with the one result
> >
> > /lib/i386-linux-gnu/libc-2.13.so
> >
> > thus,
> >
> > sudo ln -sv /lib/i386-linux-gnu/libc-2.13.so /lib/libc.so.6
> >
> > was used. Without it, one package (I think it's gcc) would not build.
> > Is some comment or script change necessary?
>
> Perhaps a comment.  What is the output when you run
> /lib/i386-linux-gnu/libc-2.13.so as an executable?

lfs@VMWLFS70:~$ /lib/i386-linux-gnu/libc-2.13.so
GNU C Library (Ubuntu EGLIBC 2.13-20ubuntu5) stable release version 2.13, by 
Roland McGrath et al.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.1.
Compiled on a Linux 3.0.4 system on 2011-10-04.
Available extensions:
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.

>
> On a Ubuntu 10.10 x86_64 system I have:
>
> /lib/libc.so.6 -> libc-2.12.1.so
>
> > 3. Binutils-2.22 - Pass 1: I have always missed the ";" in
> >
> > time { ./configure ... && make && make install; }
> >
> > Apologizing again for my ignorance, is some comment due, for the
> > newcomer noticing it?
>
> The semicolon is only needed if you do it on one line.  You can also do:
>
> time {
>     ../binutils-2.22/configure \
>        --target=$LFS_TGT       \
>        --prefix=/tools         \
>        --disable-nls           \
>        --disable-werror  &&
>
>      make  &&
>      make install
> }
>
> No semicolons required.
>
>    -- Bruce

Bruce, thank you very much for the reply and for this example.

I was wondering that it could be like a for ... done loop, now I am sure about 
the meaning, and am already using this more readable style.

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to