I'm building boa on an embedded system that apparently
doesn't have lex. I'm trying to fix that, but I found
that configure did not seem to complain about lex being
gone. The make failed however, due to lex not being there.
bash-2.05# cd src/
bash-2.05# ./configure
creating cache ./config.cache
checking for gunzip... /usr/bin/gunzip
checking for flex... lex
checking for yywrap in -ll... no
checking for bison... bison -y
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 how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for limits.h... yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for getopt.h... yes
checking for working const... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be
included... yes
checking whether setvbuf arguments are reversed... no
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getcwd... yes
checking for strdup... yes
checking for strstr... yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for select... yes
checking for socket... yes
checking for inet_aton... yes
checking for scandir... yes
checking for alphasort... yes
checking for tm.tm_gmtoff... yes
checking for tm.tm_zone... yes
checking for sockaddr_in.sin_len... no
checking compile and link profiling code... no
checking whether to compile and link debugging code... yes
checking whether to link with the Dmalloc memory
debugger/profiler... no
checking whether to link with the Electric Fence memory
debugger... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
bash-2.05# pwd
/home/root/usb_transfer/boa-0.94.13/src
bash-2.05# make
make: *** Warning: File `.depend' has modification time
in the future (2002-01-18 02:14:45 > 2000-01-01
09:42:28.67753)
bison -y -d boa_grammar.y
gcc -g -O2 -pipe -Wall -I. -c -o y.tab.o y.tab.c
/usr/share/bison.simple: In function `yyparse':
/usr/share/bison.simple:432: warning: implicit
declaration of function `yylex'
lex boa_lexer.l
make: lex: Command not found
make: *** [lex.yy.c] Error 127