Hi. > I get the below error when i compile dosemu under debian 2.2r3, > whats lex anyhow?? > > ---------------------------------------------------------------------------- > bison -y -v -do parser.c parser.y > gcc -c -D_GNU_SOURCE -O2 -fomit-frame-pointer -MD -mcpu=i586 \ > -fno-strict-aliasing -DGCC_VERSION_CODE=2095 -DASM_PEDANTIC \ > -DGLIBC_VERSION_CODE=2002 -D_XOPEN_SOURCE -pipe -DUSING_NET \ > -Wall -I/tmp/dosemu-1.1.2/src/plugin/keyboard/include \ > -I/tmp/dosemu-1.1.2/src/include \ > -I/tmp/dosemu-1.1.2/src/dosext/dpmi \ > -I/tmp/dosemu-1.1.2/src/include/slang -DYYPURE \ > -o parser.o parser.c > lex -i lexer.l > /bin/bash: lex: command not found > make[2]: *** [lex.yy.c] Error 127 > make[2]: Leaving directory `/tmp/dosemu-1.1.2/src/base/init' > make[1]: *** [base/init] Error 2 > make[1]: Leaving directory `/tmp/dosemu-1.1.2/src' > make: *** [default] Error 2
lex is a lexical analyser generator, which takes a definition of a language to be understood, and generates very efficient C code to understand that language. It's used extensively by dosemu so you will need to install it on your system. The package you want is called flex rather than lex and you want whatever the latest flex*.deb package is. I don't yet use Debian so I'm not au fait with the version numbers. Best wishes from Riley. - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
