Редхат-7.3
Хочу сделать связку Apache+Mysql+PHP
1. Конфигурирую и инсталирую MySQL 3.23.39
./configure prefix=/usr/local/mysql --with-unix-socket-path=/tmp --with-charset=koi8_ru
make, make install
2. Конфигурация русского apache1.3.27rusPL30.16
./configure
3. Конфигурация PHP-4.1.2
./configure --with-mysql --with-apache=/usr/local/src/apache1.3.27rusPL30.16 --with-mod_charset
Выдает ошибку:
...................
..................
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
В config.log
.....................
.....................
onfigure:2501: checking for flex
configure:2535: checking for yywrap in -ll
configure:2554: gcc -o conftest -g -O2 conftest.c -ll 1>&5
/usr/bin/ld: cannot find -ll
collect2: ld returned 1 exit status
configure: failed program was:
#line 2543 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char yywrap();
int main() {
yywrap()
; return 0; }
configure:2578: checking lex output file root
Братцы, помогите разобраться