Flex Install issue in Wine
Lakshmana last edited by scottalanmiller
I have installed the Ubuntu 16.10 in the Laptop as dual boot.I am trying to install the Wine 1.9 where to install the MTS setup.exe in the laptop.
I have downloaded the Wine 1.9.deb file in .tar.bz2 where I have extracted the same in the path to install it.
But When I try to install it ask me to install the flex package.
Help me on this to run my MTS data card in the Ubuntu machine
[email protected]:~$ cd /home/ed/Desktop/wine-1.1.30 [email protected]:~/Desktop/wine-1.1.30$ ls aclocal.m4 configure documentation LICENSE Make.rules.in tools ANNOUNCE configure.ac fonts LICENSE.OLD programs VERSION AUTHORS COPYING.LIB include loader README config.log dlls libs Makefile.in server [email protected]:~/Desktop/wine-1.1.30$ ./config bash: ./config: No such file or directory [email protected]:~/Desktop/wine-1.1.30$ config bash: config: command not found [email protected]:~/Desktop/wine-1.1.30$ ./configure 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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 the directory containing the Wine tools... $(TOPOBJDIR) checking for flex... no configure: error: no suitable flex found. Please install the 'flex' package.
marcinozga last edited by marcinozga
Wine should be included in Ubuntu repos, you might need to enable it in Ubuntu Software Center. So entire installation should be this:
sudo apt-get install wine
Never build from sources if there is a package available in repos already.
DustinB3403 last edited by
Yes, Wine is included in the default repo of Ubuntu, so installing it from sources is a bad choice, and means you have to maintain it.
Although this may not address the issue he's having with this particular EXE on Ubuntu.