LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-15-2019, 02:52 AM   #1
JustSomeAwesomeGuy
LQ Newbie
 
Registered: May 2019
Posts: 4

Rep: Reputation: Disabled
Exclamation Issues when running "make" for libstdc++.


Hello all! So this is my first time using LinuxFromScratch and so far I am actually having a lot of fun and I have learn't a lot! So I have been following tutorials as well as the official LFS instructions but I am stuck on "Chapter 5. Constructing a Temporary System".

Everytime I run "make" it fails and I am not really sure why. I have done the required steps but maybe I did something wrong? I am not sure... Anyway, if anyone with some experience could maybe help me out, I would really appreciate it!

My config.log:
https://pastebin.com/JyxYGxn8


Thanks and good day!
 
Old 05-15-2019, 08:38 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,693

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
post the output of the version check script, don't stray from the LFS book!
 
Old 05-15-2019, 01:00 PM   #3
drillsar
Member
 
Registered: Jan 2017
Posts: 139

Rep: Reputation: Disabled
It looks like your missing some basic software needed..


go to the following and run the script.

http://linuxfromscratch.org/lfs/view.../hostreqs.html
 
Old 05-15-2019, 01:04 PM   #4
drillsar
Member
 
Registered: Jan 2017
Posts: 139

Rep: Reputation: Disabled
One issue to be sure to check is that bash is linked to /bin/sh. When I built LFS first time I was going crazy finding out why it wasn't building and further investigation was that the host bash didn't link to /bin/sh
 
Old 05-15-2019, 11:52 PM   #5
JustSomeAwesomeGuy
LQ Newbie
 
Registered: May 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hey guys! I listened to some of your potential solutions but it unfortunately did not work.

My bash version test:
https://pastebin.com/WqYMixvG

Current config.log (updated since the last make attempt):
https://pastebin.com/w329vdsd
 
Old 05-17-2019, 06:25 AM   #6
drillsar
Member
 
Registered: Jan 2017
Posts: 139

Rep: Reputation: Disabled
Your bash is located /bin/bash for LFS it is supposed to be /bin/sh. not sure if that is your problem.
 
Old 05-17-2019, 10:55 PM   #7
JustSomeAwesomeGuy
LQ Newbie
 
Registered: May 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
So.. I have reset everything and restarted, doing everything by the book and I am still having the same issue!
 
Old 05-18-2019, 07:11 AM   #8
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,693

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Quote:
Originally Posted by drillsar View Post
Your bash is located /bin/bash for LFS it is supposed to be /bin/sh. not sure if that is your problem.
I think u have this about face, bash should be at '/bin/bash' '/bin/sh' should be a symlink to '/bin/bash'
 
Old 05-18-2019, 12:07 PM   #9
drillsar
Member
 
Registered: Jan 2017
Posts: 139

Rep: Reputation: Disabled
Yes Keith you're correct
 
Old 05-18-2019, 03:07 PM   #10
drillsar
Member
 
Registered: Jan 2017
Posts: 139

Rep: Reputation: Disabled
Wich LFS Book you using?
 
Old 05-18-2019, 08:15 PM   #11
drillsar
Member
 
Registered: Jan 2017
Posts: 139

Rep: Reputation: Disabled
Do you have texinfo installed? Not sure that be the reason for error but looks like texinfo is not installed on your host. On Ubuntu you have to go to software and check the boxes. Then sudo apt-get install texinfo..
 
Old 05-20-2019, 12:22 AM   #12
JustSomeAwesomeGuy
LQ Newbie
 
Registered: May 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drillsar View Post
Wich LFS Book you using?
As in I am following everything from the stable guide at http://www.linuxfromscratch.org/lfs/view/stable
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
warning: libstdc++.so.5 may conflict with libstdc++.so.6 sbaratam Linux - Newbie 4 05-18-2009 02:38 PM
How to find libstdc++* or compat-libstdc++-* bopedibop Linux - Newbie 2 04-29-2008 09:53 AM
FC4 doesn't have libstdc++.so.5 but libstdc++.so.6 baosheng Fedora 14 04-06-2008 10:08 AM
Need older libraries: libstdc++-3.2.4, libstdc++-libc6.-1.so.2, & compat-2004.7.1 al_moline SUSE / openSUSE 2 10-19-2007 07:01 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration