From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qb2gS-0003d5-EV for garchives@archives.gentoo.org; Mon, 27 Jun 2011 03:40:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 731AB1C001; Mon, 27 Jun 2011 03:38:45 +0000 (UTC) Received: from basement.kutulu.org (187.250.102.97.cfl.res.rr.com [97.102.250.187]) by pigeon.gentoo.org (Postfix) with ESMTP id 36DCA1C001 for ; Mon, 27 Jun 2011 03:38:45 +0000 (UTC) Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id 5AA5E112001 for ; Sun, 26 Jun 2011 19:38:44 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XPiWXw5rojQp for ; Sun, 26 Jun 2011 19:38:43 -0400 (EDT) Received: from [192.168.69.4] (wombat.kutulu.org [192.168.69.4]) by basement.kutulu.org (Postfix) with ESMTP id D62C17D801B for ; Sun, 26 Jun 2011 19:38:43 -0400 (EDT) Message-ID: <4E07FB43.9030104@kutulu.org> Date: Sun, 26 Jun 2011 23:38:43 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Do we have to build gcc with fortran now? References: <4E0167C4.9080100@gmail.com> <3693085.ofv3n58up4@pc> <4E07502F.6040807@gmail.com> <1356628.dAT3mRUGLW@pc> <4E07900F.701@gmail.com> In-Reply-To: <4E07900F.701@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: b43006cb89c294e8ecc5b6aa746693b6 On 6/26/2011 4:01 PM, Dale wrote: > Michael Schreckenbauer wrote: >> Am Sonntag, 26. Juni 2011, 10:28:47 schrieb Dale: >>> Michael Schreckenbauer wrote: >>>> Try euse -I fortran. >>>> If anything besides gcc pops up, you should have one. >>> That doesn't appear to work like it should then. I get this: >>> >>> root@fireball / # euse -I fortran >>> global use flags (searching: fortran) >>> ************************************************************ >>> [+ CD ] fortran - Adds support for fortran (formerly f77) >>> >>> Installed packages matching this USE flag: >>> sys-devel/gcc-4.4.5 >>> >>> local use flags (searching: fortran) >>> ************************************************************ >>> no matching entries found >>> root@fireball / # > Thing is, I switched it back and programs on here now need > fortran to build. So, euse is not reporting it but R and > Cantor won't build without fortran. Basically, euse should > also report R and cantor but it isn't. If mine isn't > reporting that, then Peter's may not either. Neither of those packages has a "fortran" USE flag, and cantor doesn't "know" anything about FORTRAN. cantor has an R USE flag, to switch it's R backend on/off. R doesn't have a USE flag for FORTRAN because that would be pointless -- it *requires* an f77 compiler, so it depends on virtual/fortran unconditionally. You would probably be better off using root@platypus ~ # equery depends virtual/fortran dev-python/numpy-1.6.0 (lapack ? virtual/fortran) You will probably have both R and blas in that list as well. If so, you will need to continue to enable gcc[fortran] to build those. (The fact that gcc has a fortran USE flag is only relevant because it's the default compiler; you could also potentially have ifc installed to satisfy virtual/fortran, rendering gcc's USE flag irrelevant.) --Mike