https://bugs.winehq.org/show_bug.cgi?id=40034
--- Comment #14 from alyssianagrace@gmail.com --- When I run ./configure && make depend && make in ~/wine-git I get this error: ./configure && make depend && make checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for cpp... cpp checking for ld... ld checking for the directory containing the Wine tools... $(top_builddir) checking for flex... no configure: error: no suitable flex found. Please install the 'flex' package.
I can't find flex. I have tried sudo apt-get update then sudo apt-get install flex, but then I get this: sudo apt-get install flex Reading package lists... Done Building dependency tree Reading state information... Done Package flex is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
Any suggestions? I have done everything before this step in the patching guide from the link Austin English gave me (you're fab Austin, btw;)