LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ahhh wine and flex error! help :( (https://www.linuxquestions.org/questions/linux-newbie-8/ahhh-wine-and-flex-error-help-284555/)

xpcandrew 01-31-2005 01:38 PM

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!

bathory 01-31-2005 02:03 PM

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.

xpcandrew 01-31-2005 02:09 PM

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 :)

bathory 02-01-2005 02:05 AM

Are you running "make install" as root?


All times are GMT -5. The time now is 06:37 AM.