Find the answer to your Linux question:
Results 1 to 2 of 2
OS: Fedora 3 when i go to do the config for PHP 5.0.2 it errors at the end of the config. ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql loading cache ./config.cache checking host system ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Location
    OC, California
    Posts
    11

    [SOLVED] Php5


    OS: Fedora 3

    when i go to do the config for PHP 5.0.2 it errors at the end of the config.


    ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking for re2c... exit 0;
    checking for ranlib... ranlib
    checking whether ln -s works... yes
    checking for mawk... no
    checking for gawk... gawk
    checking for bison... no
    checking for byacc... no
    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 2418: lex: command not found
    configure: error: cannot find output from lex; giving up

    any ideas?

  2. #2
    Just Joined!
    Join Date
    Aug 2004
    Location
    OC, California
    Posts
    11
    solved my own problem.

    yum install lex.

Posting Permissions

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