Results 1 to 5 of 5

Thread: /bin/bash: flex: command not found

  1. #1
    Join Date
    May 2008
    Location
    ♠ in my pc ♦
    Beans
    840
    Distro
    Ubuntu 12.04 Precise Pangolin

    /bin/bash: flex: command not found

    can anybody please be so kind to help me with this problem:

    im trying to compile android from source but i keep getting:
    /bin/bash: flex: command not found

    i google around and try a few things but is still there, any help is much appreciated
    *BUNTU addict
    Ubuntunerd's Blog
    Aim for success, not perfection. Never give up your right to be wrong, because then you will lose the ability to learn new things and move forward with your life.
    Unanswered posts Team
    How to mark your Threads as Solved
    download "Opera" a fast and secure browser

  2. #2
    Join Date
    Aug 2012
    Beans
    104

    Re: /bin/bash: flex: command not found

    I had a quick look and found this:

    Code:
    andrew@corinth:~$ apt-cache search flex | grep -i lexical
    flex - A fast lexical analyzer generator.
    flex-doc - Documentation for flex (a fast lexical analyzer generator).
    jflex - lexical analyzer generator for Java
    libfl-dev - static library for flex (a fast lexical analyzer generator).
    alex - lexical analyser generator for Haskell
    cl-lexer - Lexical-analyzer-generator package for Common Lisp
    flex-old - Old version of the fast lexical analyzer generator
    flex-old-doc - Documentation for an old flex (a fast lexical analyzer generator)
    tclex - A lexical analyzer generator for Tcl
    So a good start might be:

    Code:
    sudo apt-get install flex
    Hope this solves the issue for you...

  3. #3
    Join Date
    May 2008
    Location
    ♠ in my pc ♦
    Beans
    840
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: /bin/bash: flex: command not found

    i also found that and install it but i still got the error, let me reinstall again, thanks by the way !!!
    *BUNTU addict
    Ubuntunerd's Blog
    Aim for success, not perfection. Never give up your right to be wrong, because then you will lose the ability to learn new things and move forward with your life.
    Unanswered posts Team
    How to mark your Threads as Solved
    download "Opera" a fast and secure browser

  4. #4
    Join Date
    Aug 2012
    Beans
    104

    Re: /bin/bash: flex: command not found

    Can I ask what source you are trying to compile?

  5. #5
    Join Date
    May 2008
    Location
    ♠ in my pc ♦
    Beans
    840
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: /bin/bash: flex: command not found

    *BUNTU addict
    Ubuntunerd's Blog
    Aim for success, not perfection. Never give up your right to be wrong, because then you will lose the ability to learn new things and move forward with your life.
    Unanswered posts Team
    How to mark your Threads as Solved
    download "Opera" a fast and secure browser

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •