LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2009, 09:55 AM   #1
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
bison and yacc compatibility


I'm trying to compile bash, but make fails with:

"make: yacc: Command not found"

yacc is not available from my repositories (CentOS 5.3), but after a bit of searching, I found a post here saying that yacc was part of bison, which I've now installed. Still no yacc but the man page says:

Quote:
Bison... should be upwardly compatible with input files designed for yacc.
Does this mean that I can simply create a symlink to bison called yacc, and things will work? Tempted to just try it, but scared of terminally breaking things...

Thanks,
Rob

Last edited by Robhogg; 04-13-2009 at 09:58 AM.
 
Old 04-13-2009, 01:42 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Try this : # 'yum search yacc' .... and get 'byacc'
which is = yacc.

Add. 1 : 'yacc' can be made as a link to bison.

Add. 2 : In rare occasions 'byacc' works better than 'bison'.

.....
 
Old 04-13-2009, 04:20 PM   #3
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Original Poster
Rep: Reputation: 97
Thanks,

I did manage to get it to compile by linking yacc to bison.

Rob.
 
  


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
Newbie Yacc/Bison shift reduce question IncendiaryProgrammer Programming 5 07-02-2006 11:15 AM
Analyse of logs of a serial device (yacc/bison/flex..) fUNkYbOOStER Programming 0 06-21-2006 07:41 AM
Yacc/Bison question russinoff Programming 1 06-17-2006 01:54 PM
Bison and Yacc Compatibility Problem oulevon Programming 1 10-23-2005 10:56 PM
yacc, Bison Config Linux - General 6 02-21-2002 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 AM.

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
Open Source Consulting | Domain Registration