From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 5 17:19:41 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE58216A4DD; Wed, 5 Jul 2006 17:19:41 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (ns1int.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEE1143D58; Wed, 5 Jul 2006 17:19:40 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id k65HJd6s077936; Wed, 5 Jul 2006 11:19:39 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.6/8.13.6) with ESMTP id k65HJcNx056313; Wed, 5 Jul 2006 11:19:38 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.6/8.13.6/Submit) id k65HJc3E056310; Wed, 5 Jul 2006 11:19:38 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17579.62634.470596.561225@gromit.timing.com> Date: Wed, 5 Jul 2006 11:19:38 -0600 From: John E Hein To: Thierry Thomas In-Reply-To: <20060705173036.gglfyz1les8okcsg@graf.pompo.net> References: <20060704190921.GA73715@graf.pompo.net> <20060705113056.zdudl6ke80g8cwck@netchild.homeip.net> <20060705162636.8slkpmxus40gcsgc@graf.pompo.net> <20060705165624.sc7c4e2hc84o4s8o@netchild.homeip.net> <20060705173036.gglfyz1les8okcsg@graf.pompo.net> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: Alexander Leidinger , FreeBSD-emulation Subject: Re: Missing libg2c.so.0 ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 17:19:42 -0000 Thierry Thomas wrote at 17:30 +0200 on Jul 5, 2006: > Quoting Alexander Leidinger on Wed 5 jul > 16:56:24 2006: > > > If you need this linux lib we have two possibilities: > > 1) make a port with it > > 2) add it to the fc4 linux base > > > > If there's only one or two ports which need the lib, I suggest 1), if > > there are a lot more ports, I suggest 2). > > I need it only for one port (the next upgrade of french/gibi), but it > might be useful for other ports. Do you know if it is commonly used? libg2c is part of the gcc-g77 rpm. g77 has been replaced by gfortran in the gcc 4.x series. gfortran doesn't need/use/build libg2c. So if you want to still try to use this app (which seems to be built from the older g77/gcc compilers), you need to include a dependency on the gcc-g77 rpm. As Alexander said, you can either include that rpm directly in your port or add a separate port for it. To help decide, you might have to grub around the linux ports to see if anything else might depend on fortran stuff. We probably don't want it in the fc4 linux base. fc4 uses gcc-4 and gfortran as opposed to the old g77. Your other option is to see if you can find or build a version of your linux app based on a newer gcc/gfortran (that doesn't bring in the libg2c dependency). This is best IMO if that option is available. That said, the new version of your port may then have a dependency on libgfortran and you may be trading one missing dep for another. I have not looked to see if any of the linux-* ports have been made that include libgfortran. I suspect not. In fedora core, that lib is in the libgfortran rpm.