LFS 7.4 in Fedora 19 C++ compiler not found error
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 |
maybe you need:
Code:
sudo yum install gcc-c++ |
Install build essentials maybe it'll help as it already contains c++ compiler
|
Quote:
Besides that, Fedora is not by default a good system to build LFS, have a look here: http://www.linuxquestions.org/questi...ed-4175485207/ |
I know, I saw the post, which is of course what made me want to try it. :) I've built it successfully a couple of times on F17 (LFS 7.1 though). I did also see that druuna was able to get along to at least Chapter 6 with no real issues. I tried installing gcc-c++ as suggested above, and received a different error this time (can't remember off the top of my head). Tonight I'll probably reinstall F19 and try again. If that doesn't work, maybe Arch or Slack is the next challenge!
|
I don't know about Arch, but with Slackware you won't have any problems, it is compliant for building LFS out of the box.
|
All times are GMT -5. The time now is 02:14 PM. |