LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 09-05-2011, 07:19 PM   #1
gdawg
Member
 
Registered: Jul 2010
Location: USA, New Mexico
Distribution: Several
Posts: 69

Rep: Reputation: 0
Error while installing bash-4.2 in Para. 5.15.1 of LFS Book SVN-20110904


Hi,

While installing bash-4.2 I get the following error:

Code:
lfs:/sources/bash-4.2$ make
yacc -d ./parse.y
make: yacc: Command not found
make: *** [y.tab.c] Error 127
I removed the file and re-downloaded it in case 1st one was somehow corrupted but no help. I've had no errors up to this point. Any help will be appreciated.

I have a Dell Inspiron 530S multibooted with Win 7 and several Linux distros. I'm trying to build LFS on partitions in an external hard drive that has openSUSE installed.
 
Old 09-06-2011, 03:26 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

Are all Host System Requirements in place?

Looking at the error I'm guessing this one isn't:
Code:
Bison-2.3 (/usr/bin/yacc should be a link to bison or small script that executes bison)
Hope this helps.
 
1 members found this post helpful.
Old 09-06-2011, 12:23 PM   #3
gdawg
Member
 
Registered: Jul 2010
Location: USA, New Mexico
Distribution: Several
Posts: 69

Original Poster
Rep: Reputation: 0
Hi druuna,

Thank you for your help. You are correct. Bison wasn't installed on my host (PCLinuxOS 2010.12). I had read the requirements but since they stated that recent linux distros probably came with them installed, I neglected to verify that they were indeed installed. I appreciate your help.
 
Old 09-06-2011, 12:28 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
You're welcome
 
Old 09-06-2011, 12:37 PM   #5
gdawg
Member
 
Registered: Jul 2010
Location: USA, New Mexico
Distribution: Several
Posts: 69

Original Poster
Rep: Reputation: 0
Hi,

One question regarding binutils. Requirements state not to use a revision later than 2.21.1a; however the Synaptic Pkg. Mgr. shows revision installed as 2.21.52.0.2.20110610. How should I deal with this?
 
Old 09-06-2011, 12:52 PM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

That's not a gnu binutils specific numbering. Looking at the date mentioned on Mandrake/Mandriva RPM page, you seem to be safe.

In general, if you see a message like this: Versions greater than X.Y.Z. are not recommended as they have not been tested and your version is a minor/build number higher, you are probably safe (you can at least give it a try). X.Y.Z => Major.Minor.Build number.

Hope this helps.
 
1 members found this post helpful.
Old 09-07-2011, 06:18 PM   #7
gdawg
Member
 
Registered: Jul 2010
Location: USA, New Mexico
Distribution: Several
Posts: 69

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the info druuna.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS book 6.3 CH 5.14 Bash 3.2 "make error" croog Linux From Scratch 6 08-15-2012 04:58 AM
Make error while compiling gcc-4.2.3 (LFS-SVN) corbis_demon Linux From Scratch 14 07-25-2008 10:58 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
Stucked at : 5.3. Binutils-2.17 - Pass 1 on LFS-BOOK-SVN-20070304 androme Linux From Scratch 1 03-13-2007 02:49 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration