ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Flex Install issue in Wine

    IT Discussion
    wine ubuntu linux ubuntu 16.10
    3
    3
    3.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      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

      ed@ed-desktop:~$ cd /home/ed/Desktop/wine-1.1.30
      ed@ed-desktop:~/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
      ed@ed-desktop:~/Desktop/wine-1.1.30$ ./config
      bash: ./config: No such file or directory
      ed@ed-desktop:~/Desktop/wine-1.1.30$ config
      bash: config: command not found
      ed@ed-desktop:~/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.
      
      1 Reply Last reply Reply Quote 2
      • M
        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.

        1 Reply Last reply Reply Quote 3
        • DustinB3403D
          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.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post