LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 02: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, 03:03 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
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, 03: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, 03:05 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

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


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


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