Home arrow Debian環境セットアップ arrow [Debian FAQ]PHPのconfigure実行時、lexが見当たらないとのエラー
[Debian FAQ]PHPのconfigure実行時、lexが見当たらないとのエラー プリント
Debian FAQ



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 2554: lex: command not found
configure: error: cannot find output from lex; giving up

 

configureを実行すると、 flexが見当たらないといったメッセージが出てくるときがある。

こんなときは、 開発環境にflexとbisonが必要なので、apt-getでインストールする。

 

 

# apt-get install flex bison