From owner-freebsd-ports Wed Mar 22 4: 5:24 2000 Delivered-To: freebsd-ports@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id F27B237B551 for ; Wed, 22 Mar 2000 04:05:10 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id MAA02409; Wed, 22 Mar 2000 12:47:39 +0100 (MET) Message-ID: <38D8B2D5.5005198E@we.lc.ehu.es> Date: Wed, 22 Mar 2000 12:47:34 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Marcel Moolenaar Cc: Joao Paulo Campello , ports@FreeBSD.ORG Subject: Re: FreeBSD Port: linux_base6.1 References: <38D7BE98.173C0FB9@cup.hp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar wrote: > > The linux_base port installs a subset of what you would normally find on > a Linux box. There's no point in installing a complete Linux system. The > bottomline is that it is possible that a certain application expects a > certain binary to be in a certain directory while it isn't actually > there. This can easily be solved (just as a real Linux system): Install > the appropriate RPM (if applicable)... I had a similar problem a few days ago when trying to install Matlab 5.3 for Linux on a FreeBSD box (what I finally did), because the install application (a binary) looks for /bin/tar. I had to install the RPM package manually. The most difficult issue was finding the problem causing the Matlab install program to fail. Just after finding that /compat/linux/bin/tar was missing, I was somewhat upset: why tar is not included in linux_base? It's basic, after all! But then I realized that we cannot include everything in linux_base. Of course, we could discuss what utilities should be included, and what shouldn't, but I doubt we could eventually agree. Conclusion: let's Marcel decide! :-) After installing Matlab, I have a question. What is the best procedure for adding a RPM package to /compat/linux? I used rpm-2.5.6 to install tar in this way: mkdir /compat/linux/var/tmp rpm -U --ignoreos --root /compat/linux --dbpath /var/lib/rpm --nodeps --replacepkgs tar-1.13.11-1.i386.rpm rmdir /compat/linux/var/tmp [just to leave things as before] I figured the options reading the linux_base's Makefile. Anyway, this is somewhat tricky... Is there a better (i.e., easier) solution? (for example, using /compat/linux/bin/rpm...) Cheers, -- JMA ***** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ***** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message