$ ./configure --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quo
tes --with-mysql --enable-track-vars
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i586-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... lex: not found
configure: error: cannot find output from lex; giving up
That's the error when I try to ./configure on cygwin on windows 2000 pro. I'm completely lost, any and all help is appreciated. Thanks!