From owner-freebsd-emulation Thu Feb 4 02:02:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18883 for freebsd-emulation-outgoing; Thu, 4 Feb 1999 02:02:31 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18864 for ; Thu, 4 Feb 1999 02:02:23 -0800 (PST) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i238.ztm.euronet.nl [194.134.67.39]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id LAA12980; Thu, 4 Feb 1999 11:02:15 +0100 (MET) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.2/8.9.1) with ESMTP id LAA05894; Thu, 4 Feb 1999 11:02:14 +0100 (CET) (envelope-from marcel@scc.nl) Message-ID: <36B97026.8D786493@scc.nl> Date: Thu, 04 Feb 1999 11:02:14 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: emulation@FreeBSD.ORG Subject: Re: Linux collections (was: Linux devel doesn't work with glibc libs) References: <199902040002.QAA09939@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith wrote: > > Now the downsides to using the FreeBSD RPM: > > - it's not installed in /bin. That's where RedHat puts it, and it's > where anything that interacts with the RedHat package database wants > it. (eg. The IBM DB2 installer). Good point. > - its databases don't end up in the canonical place (because that > would be stupid on FreeBSD). Could be... > - it doesn't run in Linux compataility mode, so it won't see things in > the /compat/linux tree, nor will it install things there. Why not? just specify '--root /compat/linux'. > There's basically no good reason to use the FreeBSD RPM port, and lots > of good reasons not to. I went through the process of evaluating both > approaches while I was trying to get DB2 installed, and while the > RedHat binary doesn't work 100% right either, the FreeBSD binary was > definitely going to lead to more heartache. Hmmm... Red Hat RPM it's gonna be, then. [snipped some collection talk] > > linux-ports: FreeBSD ports of linux-specific tools (such as ps(1)) (needs > > linux) > > If just installing the RPM is enough, these should be in the runtime. > If they're from-source ports, then they want to be separate, indeed. > The question here is whether they should be FreeBSD binaries installed > in /compat/linux, or whether they should be build using the linux > compatibility code. Ick. Wherever possible we should extend our > emulation so that the Linux-native tools work of course. My ps(1) port uses -lkvm. Other ports may need sysctl. In short they have to be FreeBSD binaries emulating the behaviour of Linux binaries. [another big snip] > > I'd KISS for now; just runtime and development. The development stuff > is enormous of course (tools, includes, static libs, manpages, etc.), > but the runtime won't bloat all that badly even with the X stuff > installed. I do not entirely agree, but let's get the show on the road. We can always finetune later if that's at all necessary of course. Consensus: 1. I create a port called Linux, which uses the Red Hat RPM and checks for linux.ko but not automaticly load it and it will be somewhat equivalent to linux_lib. 2. A second port will be called Linux-devel which depends on Linux and will somewhat equal linux_devel. 3. Other ports will be discussed later. marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message