LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2005, 01:38 PM   #1
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Rep: Reputation: 0
ahhh wine and flex error! help :(


i tryed to install wine and i get this error on the ./configure

configure: error: no suitable lex found. Please install the 'flex' package.



so i try to install flex

andrew@eca:~/flex-2.5.4$ make
yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127


please help thanks!
 
Old 01-31-2005, 02:03 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You need to install "yacc" or better "bison" which is more recent.
Quote:
yacc stands for "yet another compiler compiler", bison is a gnu
replacement for yacc. You can get bison as part of the bin-utils
package from gnu.org. If you are running a linux box then you should
check your installation documentation to determine which packages should
be installed to support development on your platform, bison will be
included in one of these and will be typically linked to yacc as well.
 
Old 01-31-2005, 02:09 PM   #3
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
thanks

i tryed install binutils 2.9 and i get this


checking lex output file root... ./configure: line 1701: lex: command not found
configure: error: cannot find output from lex; giving up
Configure in /home/andrew/binutils-2.9/binutils failed, exiting.




i tryed install bison 2.0 and i get this

make[1]: Leaving directory `/home/andrew/bison-2.0/po'
Making install in lib
make[1]: Entering directory `/home/andrew/bison-2.0/lib'
make install-am
make[2]: Entering directory `/home/andrew/bison-2.0/lib'
make[3]: Entering directory `/home/andrew/bison-2.0/lib'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/usr/bin/install -c -m 644 'liby.a' '/usr/local/lib/liby.a'
/usr/bin/install: cannot create regular file `/usr/local/lib/liby.a': Permission denied
make[3]: *** [install-libLIBRARIES] Error 1
make[3]: Leaving directory `/home/andrew/bison-2.0/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/andrew/bison-2.0/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/andrew/bison-2.0/lib'
make: *** [install-recursive] Error 1


thats after running make install



thanks please help1
 
Old 02-01-2005, 02:05 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Are you running "make install" as root?
 
  


Reply



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
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 10:59 AM
ahhh crap! OMEGA-DOOM Linux - Newbie 9 06-15-2004 02:28 PM
Ahhh this is life cli_man General 16 08-04-2002 02:33 AM
AHHH me modem... umpa Linux - Newbie 1 01-06-2002 10:26 PM
Out of Range... ahhh! Rocky Linux - General 2 10-21-2001 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 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