Joseph Hesse wrote:
On 11/17/2015 08:38 AM, Pierre Labastie wrote:
On 17/11/2015 15:18, Joseph Hesse wrote:
Hello,
In the first "Important" box in section 5.3, the last item is:
/usr/bin/yacc is a symbolic link to bison or a small script that
executes bison.
In my host system I have the file /usr/bin/yacc but it is not a
symbolic link to anything. I also have the file /usr/bin/bison but it
also is not a link to anything. Please advise on how I can fix this.
Isn't the file /usr/bin/yacc a script? (you can use "file
/usr/bin/yacc" to know the nature of the file, and if it is a shell
script, examine what it contains).
When I do file /usr/bin/yacc I get "ELF 64-bit LSB shared object .." I
also have the files /usr/bin/byacc and /usr/bin/byaccj. They are both ELF.
My host system is Fedora 23.
Have you run version-check.sh? What does it say about yacc?
------------------------------
In the second "Important" box in section 5.3, item 3 says that I
should use tar to extract the packages in /mnt/lfs/sources. Am I
reading this right? There are 27 .tar.gz files, 11 .tar.bz2 files and
32 tar.xz packages. Extracting each one from the command line seems
error prone. I am thinking about creating a script that would extract
each package. Is this a good approach?
You extract one package at a time, say, when you are at a "gcc" page,
type "tar -xvf gcc-5.2.0.tar.bz2", then change to the extracted
directory. When the package is built, you change back to the /sources
directory, and remove the extracted directory (rm -rf gcc-5.2.0
gcc-build).
I am reading the LFS book sequentially, doing things in the exact order of
the book. Apparently, extracting the packages in /mnt/lfs/sources is not
done at exactly at this time but when continuing to read the book. For
example, if I followed the instructions in the second box in 5.3 I would
have extracted all the packages. However, in 5.5 it says, "First extract
the gcc tarball ..." and then it says "tar -xf ../mpfr-3.1.3.tar.xz".
Please just for a sanity check, am I reading this right?
No. Reread the second 'Important' block in 5.3. General Compilation
Instructions. Pay close attention to the steps in item 3. It says:
For *each package*: a, b, c, d, e.
It does not say a, a, a, a ...
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style