Failed with lex

Discussion in 'Installation/Configuration' started by benkong2, Aug 1, 2005.

  1. benkong2

    benkong2 New Member

    configure: warning: You will need bison if you want to regenerate the PHP parsers.
    checking for flex... lex
    checking for yywrap in -ll... no
    checking lex output file root... ./configure: line 2422: lex: command not found
    configure: error: cannot find output from lex; giving up
    ERROR: Could not configure PHP

    What am I missing on my system that causes this installation to fail
  2. manu

    manu New Member

    Install bison and flex. If you use apt, you can use
    apt-cache search flex
    apt-cache search bison
    to find appropriate packages.
  3. benkong2

    benkong2 New Member

    fixed it thanks

    That was exactly what I needed.

Share This Page