Error Cannot Find Output From Lex
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 Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join 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 compiling gcc - cannot find output from flex; giving up up vote 3 down vote favorite 1 I am trying to compile gcc-4.9RC or gcc-4.8.2 on Debian (6 or 7). There is flex 2.5.35 installed and I even compiled my own flex 2.5.39. I confirmed it generates a yy.c output from a simple .l file. Also I learned at gcc documentation, that flex shouldn't be necessary when compiling from a release (which the gcc-4.8.2 is). Nevertheless I always get this in some internal configure after running make: checking for bison... bison -y checking for flex... flex checking lex output file root... configure: error: cannot find output from flex; giving up make[2]: *** [configure-stage1-gmp] Error 1 make[2]: Leaving directory `***/gcc-bin-8' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `***/gcc-bin-8' make: *** [all] Error 2 It is configured with: ../gcc-4.8.2/configure --enable-languages=c,c++,fortran --with-cloog --prefix=/home/***/gcc-4.8.2 I have no idea what should I try more. gcc flex-lexer configure share|improve this question edited Apr 18 '14 at 15:15 dvdgsng 1,2281122 asked Apr 17 '14 at 9:06 Vladimir F 25.9k31852 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted This error is generated whilst building gmp (a pre-requisite of gcc). It's a known bug in gmp present in 4.8.3 Ref :gmp bug. If you ran contrib/download_prerequisites, you would get gmp 4.8.3 by default. Workaround is to edit gmp-4.8.3/configure.in & gmp-4.8.3/configure and change M4=m4-not-required for M4=m4 share|improve this answer answered Jul 21 '14 at 2:24 ACyclic 1,6231320 Since the current version of GMP is 6.0.0a, I'm left wondering why the OP would use such an arch
Re: Error building GCC From: Jay
& Application Design Issues Install PHP; cannot find output from Lex; giving up The SitePoint Forums have moved. You can now find them here. This http://www.sitepoint.com/forums/showthread.php?102103-Install-PHP-cannot-find-output-from-Lex-giving-up forum is now closed to new posts, but you can browse existing content. https://www.howtoforge.com/community/threads/installation-problem-php-problem.347/ You can find out more information about the move and how to open a new account (if necessary) here. If you get stuck you can get support by emailing forums@sitepoint.com If this is your first visit, be sure to check out the FAQ by clicking the link above. You may error cannot have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. SitePoint Sponsor User Tag List Results 1 to 2 of 2 Thread: Install PHP; cannot find output from Lex; giving up Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode error cannot find Switch to Hybrid Mode Switch to Threaded Mode Mar 28, 2003,11:25 #1 djmadkins View Profile View Forum Posts SitePoint Member Join Date Mar 2003 Location Garner, NC Posts 6 Mentioned 0 Post(s) Tagged 0 Thread(s) Install PHP; cannot find output from Lex; giving up This is the error I get when running configure while installing PHP 4.3.1 on Linux... How can I get around this? Mar 28, 2003,12:47 #2 djmadkins View Profile View Forum Posts SitePoint Member Join Date Mar 2003 Location Garner, NC Posts 6 Mentioned 0 Post(s) Tagged 0 Thread(s) Ok this is fixed... One of our Unix GuRuZ at work here straightened my system out.. Long story short: I have a trimmed down version of RH 7.0 on a lower end "internet appliance" server that I bought recently. Once I installed what the errors were reporting via rpm's everything worked fine Quick Navigation General Web Development & Application Design Issues Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Community Center News & Announcements General Discussions Introductions Talk With The Experts Website Design & Content - Reviews & Critiques Code
Member I followed this http://www.falkotimme.com/howtos/perfect_setup_suse9_3/ setup thinghy to the letter, but I still ran into a problem installing ISPconfig. It runs all the way but its stops with this message: checking lex output file root... ./configure: line 2422: lex: command not found configure: error: cannot find output from lex; giving up ERROR: Could not configure PHP What is going wrong and how do I fix it? Especially since I did a clean install of SUSE following that perfect setup tutorial... hgoor, Aug 21, 2005 #1 till Super Moderator Staff Member ISPConfig Developer hgoor said: I followed this http://www.falkotimme.com/howtos/perfect_setup_suse9_3/ setup thinghy to the letter, but I still ran into a problem installing ISPconfig. It runs all the way but its stops with this message: checking lex output file root... ./configure: line 2422: lex: command not found configure: error: cannot find output from lex; giving up ERROR: Could not configure PHP What is going wrong and how do I fix it? Especially since I did a clean install of SUSE following that perfect setup tutorial...Click to expand... The program "lex" is missing to compile PHP. Install lex from your SuSE 9.3 installation media to fix this. till, Aug 21, 2005 #2 hgoor New Member till said: The program "lex" is missing to compile PHP. Install lex from your SuSE 9.3 installation media to fix this.Click to expand... Ah! Thanks for the tip. So I guess when you follow the install instructions from that website it's not complete? Obviously when you do a out-of-the box install of suse like the page tells you to do, SuSE does not default install this Lex? I will let you know if this fixes the problem! Thanks again! hgoor, Aug 21, 2005 #3 hgoor New Member till said: The program "lex" is missing to compile PHP. Install lex from your SuSE 9.3 installation media to fix this.Click to expand... Uhm, I have a small problem: when I search the packages from within yast, there is no program 'lex' What is the full name if any? hgoor, Aug 21, 2005 #4 falko Super Moderator ISPConfig Developer hgoor said: Uhm, I have a small problem: when I search the packages from within yast, ther