dear Jairo,
u did not have flex installed on your sistem...
try find flex software for your system and install it before you compile :)
hope it helps...
regards,
James
Jairo Tcatchenco wrote:
> I have tried many times and with differents versions and
> downloads, but the problem allways happens. When I started ./configure,
> with or without parameters, the following message is displayed:
>
> (...) checking for gcc option to accept ANSI C... none needed
> checking for ranlib... ranlib
> checking whether gcc and cc understand -c and -o together... yes
> 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
>
> I read the config.log and the last lines are:
>
> (...) configure:2209: cc -c conftest.c -o conftest.o 1>&5
> configure:2236: checking whether ln -s works
> configure:2260: checking for flex
> configure:2294: checking for yywrap in -ll
> configure:2313: gcc -o conftest -g -O2 conftest.c -ll 1>&5
> /usr/i386-slackware-linux/bin/ld: cannot open -ll: No such file or
> directory
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2302 "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:2337: checking lex output file root
>
> Could someone help me? What is the problem? What I have to do to
> correct this? Thanks a lot.
>
> [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]