Configure Error Yacc Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About flex: command not found Us Learn more about Stack Overflow the company Business Learn more about hiring lex: not found developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join yacc command not found linux the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “make: yacc: Command not found” yacc command not found centos after installing Bison up vote 2 down vote favorite While running a makefile in gcc 4.1.2 (linux 5), I got the following error make: yacc: Command not found By googling, I came to know that this error can be rectified by installing Bison-GNU parser generator. But even after installing Bison, I get the same error. How can this error be solved? bison yacc share|improve this question
Gcc: Error: ./lexer.c: No Such File Or Directory
asked May 24 '12 at 7:44 Blackforest 1542314 What OS are you under? Sounds like some linux distro, but I'm not sure which. Also, that error is pretty self-explanatory: what happens when you run whereis yacc? –zebediah49 May 24 '12 at 7:48 the output of whereis yacc is yacc: /usr/share/man/man1p/yacc.1p.gz –Blackforest May 24 '12 at 7:50 That's a compressed man page, not an executable. –paxdiablo May 24 '12 at 7:53 That means that your $PATH does not include the yacc executable-- that's just its manual page. I'd suggest trying to find where yacc is, and finding why it's not on your $PATH. This is more of a ServerFault or SuperUser question BTW. –zebediah49 May 24 '12 at 7:56 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote accepted From the looks of things, your makefile is expecting a yacc executable to be available and either it's not, or it's not on your path. Since bison is supposed to be compatible with yacc so the first thing I would try would be: alias yacc="bison" and try again. On my setup, /usr/bin/yacc is simpl
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code
Undefined Reference To `pcap_lex'
of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu bison command not found centos IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu debian yacc command not found PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours http://stackoverflow.com/questions/10733238/make-yacc-command-not-found-after-installing-bison Support Installation & Upgrades [ubuntu] can't run "make" when trying to compile Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 6 of 6 Thread: can't run "make" when trying to compile Thread Tools Show https://ubuntuforums.org/showthread.php?t=1116387 Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 5th, 2009 #1 wet_colored_arch View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Feb 2007 Beans 24 can't run "make" when trying to compile I am trying to insall avrdude-5.1 for POV kit at Make Magazine. http://www.ladyada.net/make/minipov3/download.html I can't get "make" to work (first time I have tried to compile myself - please/thanks help me sort this out for this application and future applications) I am running Heron I ran: sudo apt-get install build-essential. I then ran ./config from inside of folder, and configure seemed to work okay allthough some of the messaging said "checking for ___" and sometimes the answer was "no" .... but I assume this could be normal. and then I ran "make" and it didn't seem to work.. I get the following: michael@kitchen-desktop:~/Desktop/avrdude-5.1$ make make all-recursive make[1]: Entering directory `/home/michael/Desktop/avrdude-5.1' make[2]: Entering directory `/home/michael/Desktop/avrdude-5.1' yacc -d co
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://askubuntu.com/questions/163165/wireshark-installation-using-source-code Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes http://www.avrfreaks.net/forum/avrdude-needs-yacc-not-byacc a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top wireshark installation using source code up vote 2 down vote favorite not found 2 i downloaded wireshark-1.8.0rc2.tar.bz2 and copied it to /opt/wireshark directory and uncompressed it by sudo tar -xjvf wireshark-1.8.0rc2.tar.bz2 then by doing ls in the extracted folder, i found the configure file. Then i did ./configure then i got this problem: configure: error: I couldn't find yacc (or bison or ...); make sure it's installed and in your path. how to fix it? software-installation share|improve this question edited Feb 29 at 11:01 Menuka Ishan 1791114 asked Jul command not found 13 '12 at 13:23 uddhav 1112 2 It is highly recommended to install it from official repository since it is specifying Dependencies. –atenz Jul 13 '12 at 14:01 add a comment| 3 Answers 3 active oldest votes up vote 9 down vote In case someone runs into this in the future: you can just sudo apt-get install bison Bison will provide yacc to Wireshark via update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Also, if you install Bison, you'll also need sudo apt-get install flex since it will ask for it afterwards. And while you're at it, you should sudo apt-get install libpcap-dev too, since it will probably need pcap.h, and it comes in the -dev package, not the regular one. After this, it should be the usual make, wait... and then make install and you're done. Depending on your specs, the wait part might be 5 minutes, just to build the parlay package. share|improve this answer answered Dec 1 '12 at 20:00 alfonso.ss 9113 1 Very thoughtful reply from alonso.ss. Also, one might get a configuration error about GTK+ and Glib versions, like I did (Ubuntu 12.04). In that case, install libgtk2.0-dev and libglib2.0-dev. –user242603 Feb 1 '14 at 21:49 And I'm just sitting here going wink wink at the screen. So many commands to input. So much to configure. –Błaż
CommunitiesAVR FreaksAtmel SMART ARM-based MCUsInternet of ThingsCapacitive TouchProjectsVendorsWiki You are hereHome » Communities » AVR Freaks » Forums » Tools » Compilers and General Programming » avrdude needs yacc? Not Byacc? Main menu mobile Home Communities Forums Projects Vendors Wiki Search My summary Privacy Contact Site Use Terms Cookies Communities Forums Projects Vendors WIKI avrdude needs yacc? Not Byacc? Log in or register to post comments Go To Last Post 8 posts / 0 new Author Message paulofelora Level: Rookie Joined: Mon. Mar 31, 2014 Posts: 27 View posts #1 Posted by paulofelora: Wed. Aug 27, 2014 - 10:48 PM Fivestar widget 12345Total votes: 0 Just tried to install avrdude 6.1 but make barfs on "../ylwrap: line 176: yacc: command not found". I was able to find a "Berkeley Yacc", installed it but no joy. My Opensuse 13.1 Yast doesn't know what yacc is, either, so I don't feel so bad. Any suggestions? thanks, paul Tags:Tools, Compilers and General Programming Log in / register to post comments Top alexru Level: Raving Lunatic Joined: Wed. Apr 15, 2009 Posts: 8074 View posts Location: San Jose, CA #2 Posted by alexru: Thu. Aug 28, 2014 - 12:46 AM 12345Total votes: 0 Install bison. It is a GNU implementation of yacc and it will provide yacc command. NOTE: I no longer actively read this forum. Please ask your question onwww.eevblog.com/forum if you want my answer. Log in or register to post comments Top paulofelora Level: Rookie Joined: Mon. Mar 31, 2014 Posts: 27 View posts #3 Posted by paulofelora: Thu. Aug 28, 2014 - 02:12 AM 12345Total votes: 0 Ahhh thanks Alexru - but now I get some BS about lexer.c: paul@linux-dvlb:~/Projects/avrdude-6.1/obj-avr> sudo make /bin/sh ../ylwrap ../lexer.l .c lexer.c -- : make all-recursive make[1]: Entering