LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-11-2008, 10:40 PM   #1
croog
LQ Newbie
 
Registered: Feb 2006
Distribution: fedora-17-x86_64 Xfce
Posts: 29

Rep: Reputation: 1
LFS book 6.3 CH 5.14 Bash 3.2 "make error"


When I try to run 'make' for bash-3.2 I get an error.
Quote:
lfs:/mnt/lfs/sources/bash-3.2$ make
yacc -d ./parse.y
make: yacc: Command not found
make: *** [y.tab.c] Error 127
I have tried removing the bash-3.2 folder, re extract it, apply the patch, run configure, and still the same error.
If you have any ideas please let me know.
croog
 
Old 06-11-2008, 11:12 PM   #2
gerald_M2B
Member
 
Registered: Oct 2007
Posts: 34

Rep: Reputation: 15
yacc is in the bison package. You may need to install it for use in your system.

Gerald
 
Old 06-11-2008, 11:31 PM   #3
croog
LQ Newbie
 
Registered: Feb 2006
Distribution: fedora-17-x86_64 Xfce
Posts: 29

Original Poster
Rep: Reputation: 1
I already have bison 1.875 installed and when I go to '/usr/local/share/bison' yacc.c is there. But I still get the error.
croog
 
Old 06-12-2008, 11:09 AM   #4
gerald_M2B
Member
 
Registered: Oct 2007
Posts: 34

Rep: Reputation: 15
The yacc executable needs to be in /usr/bin or /usr/local/bin OR a link to the executable needs to be in those locations or in your path. Your problem is that the executable is not located by make. Make the correction, and run, as root, ldconfig (if that is also needed.) Then try again.

Gerald
 
Old 06-16-2008, 05:20 PM   #5
croog
LQ Newbie
 
Registered: Feb 2006
Distribution: fedora-17-x86_64 Xfce
Posts: 29

Original Poster
Rep: Reputation: 1
Thanks

I looked and yacc was in '/usr/local/bin' and still no luck, so I created a link to '/usr/bin' and make ran without error. I guess it was only looking in '/usr/bin' on my system. Thanks for the help.

croog
 
Old 08-14-2012, 06:59 PM   #6
a-relieved-pup-here
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
Thumbs up bash-compile-error

20120814-1747 -
Yes, this fix, install bison on host, worked for me. Current LFS 7.1, on host, ubuntuStudio-64-10.04

Last edited by a-relieved-pup-here; 08-14-2012 at 07:02 PM. Reason: v .1
 
Old 08-15-2012, 05:58 AM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 1,009

Rep: Reputation: 222Reputation: 222Reputation: 222
Mark this thread as SOLVED
 
  


Reply

Tags
error, lfs


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
LFS 6.3 Chapter 5.4.1 - problem with "make bootstrap" vipernicus42 Linux From Scratch 3 04-21-2008 09:58 PM
cant find the "make" command after chroot to the LFS system fengfeng Linux From Scratch 2 02-11-2008 12:34 AM
LFS 6.2 Ch. 6.14 - 2nd Coreutils test returns "/bin.bash: No such file or directory" 0graham0 Linux From Scratch 2 08-23-2007 07:32 PM
upgrade to kernel 2.6.16.1 : "make bzImage" print "parse error" math_physics Red Hat 2 06-30-2007 12:04 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 04:31 PM


All times are GMT -5. The time now is 02:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration