/usr/ports/textproc/flex port didn't replace existing flex install

Peter Boosten peter at boosten.org
Mon Jul 18 18:16:54 UTC 2011

On 18-7-2011 17:49, Jeff Hamann wrote:
> I'm running:
> FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> I need to update flex for building postgresql-9.0.3 from source.
> I installed the latest port (flex-2.5.35_4) from /usr/ports/textproc/flex. 
> When I flex --version, I still get the old version of flex (2.5.4).
> Is there some other place I need to set the path to flex?

flex appears to be in my base system: /usr/bin/flex, and not coming from
any port. Since /usr/bin/ is earlier in your path than /usr/local/bin,
that one will be called first. Probably need to rename that one.


Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 10.0.1390 / Virusdatabase: 1516/3772 - datum van uitgifte: 07/18/11

More information about the freebsd-questions mailing list