Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2009 12:53:09 -0700
From:      Steve Franks <bahamasfranks@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   flex from ports kills buildworld?
Message-ID:  <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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

[steve@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

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[steve@dynstant /usr/src]$ which flex
/usr/local/bin/flex
[steve@dynstant /usr/src]$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90904091253i398dc4cfvfdb98f3731e6b3c>