Since I like a challenge, I'm attempting to build LFS 7.4 in Fedora 19 x64.
Below is the code from the version-check script, after bringing the host into compliance by downloading a few packages.
I get stuck on Chapter 5.5, installing Glibc for the first time. After running 'make', I get an error stating that C++ compiler is not found or is not usable, and am unable to proceed further.
Another interesting point is that while I have all of the packages required by the book, the versions in some cases are not the latest required by the book even when using yum to install them. For example, Glibc is version 2.17, but the book recommends 2.18 or later. Any idea why when I try to install via yum it tells me my version 2.17 is already the latest?
Code:
bash, version 4.2.45(1)-release
/bin/sh -> /usr/bin/bash
Binutils: version 2.23.52.0.1-8.fc19 20130226
bison (GNU Bison) 2.6.4
/usr/bin/yacc -> /usr/bin/yacc
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.21
diff (GNU diffutils) 3.3
find (GNU findutils) 4.5.11
GNU Awk 4.0.2
/usr/bin/awk -> /usr/bin/gawk
gcc (GCC) 4.8.2 20131017 (Red Hat 4.8.2-1)
(GNU libc) 2.17
grep (GNU grep) 2.14
gzip 1.5
Linux version 3.9.5-301.fc19.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC) ) #1 SMP Tue Jun 11 19:39:38 UTC 2013
m4 (GNU M4) 1.4.16
GNU Make 3.82
GNU patch 2.7.1
Perl version='5.16.3';
sed (GNU sed) 4.2.2
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 5.1
xz (XZ Utils) 5.1.2alpha
gcc compilation OK