./configure --with-db=/usr/local/BerkeleyDB.3.2
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for lynx... /usr/bin/lynx
checking for perl... /usr/bin/perl
checking for db_version in -ldb... yes
checking for ANSI C header files... yes
checking for db.h... yes
checking for regex.h... yes
checking for unistd.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for regcomp... yes
checking for regerror... yes
checking for regexec... yes
checking for strdup... yes
[root@111 squidGuard-1.2.0]# make
making all in squidGuard-1.2.0
make[1]: Entering directory `/tmp/squidGuard-1.2.0/src'
making all in src
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB.3.2/include -c main.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB.3.2/include -c sgLog.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB.3.2/include -c sgDb.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB.3.2/include -c sgDiv.c
yacc -d sg.y || (cp y.tab.c.bison y.tab.c && cp y.tab.h.bison y.tab.h)
/bin/sh: line 1: yacc: command not found
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB.3.2/include -c y.tab.c
: sg.l || cp lex.yy.c.flex lex.yy.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB.3.2/include -c lex.yy.c
gcc: lex.yy.c: No such file or directory
gcc: no input files
make[1]: *** [lex.yy.o] Ошибка 1
make[1]: Leaving directory `/tmp/squidGuard-1.2.0/src'
make: *** [all] Ошибка 1
Для продолжения нажмите любую клавишу...
откуда ошибка и почему возникает?
Беркли пробовал несколько версий, одно и то же.
с правами и владельцами тоже вроде все в порядке.
В чем грабли?