Fedora 3 and PHP 5

  • sleightofhand
  • Newbie
  • Newbie
  • sleightofhand
  • Posts: 9

Post 3+ Months Ago

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

it was suggested by a friend that i yum install lex, still got error. any ideas?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • KCamel
  • Beginner
  • Beginner
  • User avatar
  • Posts: 39
  • Loc: Kuwait

Post 3+ Months Ago

Hey,

I'm not familiar with your problem but try to find the following
- bison
- flex

and install them, freshmeat.net

btw is php4 working? and you want to upgrade or what?

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 44 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.