On Thu, 9 Apr 2009 12:53:09 -0700, Steve Franks <bahamasfra...@gmail.com> wrote:
> Probably doing something stupid, but on the off chance I'm not:
>
> - Had to install a newer flex from ports for something.
> - Had to move the system flex to avoid hacking reams of bad makefiles
> - Did a buildworld, and it can't find a flex
> - Seems to me, buildworld should be able to use a newer flex, and
> should be able to use the one from /usr/local instead of /sbin
>
> Thanks,
> Steve
>
> [st...@dynstant /usr/src]$ sudo make buildworld
> ...
> flex -ogengtype-lex.c
> /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l
> flex:No such file or directory
> *** Error code 1

Do you have `/usr/bin/flex'?  That's what should be used by the
buildworld step.

It may also be a good idea to start with `sudo -i' and *then* run the
buildworld commands in the root shell, instead of `sudo command'.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to