From owner-freebsd-questions@FreeBSD.ORG Thu Apr 9 19:53:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A16E41065673 for ; Thu, 9 Apr 2009 19:53:09 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 7798F8FC13 for ; Thu, 9 Apr 2009 19:53:09 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so675126wfg.7 for ; Thu, 09 Apr 2009 12:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=gFIdQfLpNLpdxCFiCH6QSFq36eUWVX5YzUVFW9U8pwE=; b=GhHk9Dq0rOsUrpagbzb9Vt76MxNLLl/9/5u2Ol4VC8i3kTVyY4eNzWTbsRM1lulLa/ SPgQimjs7M/ftztshR6bFyypdQOj45hnsfsyymZZ0P8XOMvUbJqZymxKguaBZQ+5tmfE atPU7eSRsx4dmkRnd1BjSTy5K2dDhUOEq6Zjg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=dtv98cJilTssk+vSQ6ZwEcg6Iu96kilUg2oMwv+75jlWM6gG+E7auKurzIKFmg6Vi6 LLumUQdgqOKmuH2jGFaUWrCHGenwfJSIMqQMhIQtBVZCJla0b/5J3GZ9OKrS3a/6a4Sb o9XHFnpyQSFlseBvA4fV8zPO1As9Mv5TV/zuU= MIME-Version: 1.0 Received: by 10.143.7.5 with SMTP id k5mr976720wfi.176.1239306789042; Thu, 09 Apr 2009 12:53:09 -0700 (PDT) Date: Thu, 9 Apr 2009 12:53:09 -0700 Message-ID: <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com> From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: flex from ports kills buildworld? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 19:53:10 -0000 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]$