Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 12:47:34 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        Joao Paulo Campello <john@netpe.com.br>, ports@FreeBSD.ORG
Subject:   Re: FreeBSD Port: linux_base6.1
Message-ID:  <38D8B2D5.5005198E@we.lc.ehu.es>
References:  <Pine.BSF.4.21.0003210051290.6415-100000@rix.ibbs.com.br> <38D7BE98.173C0FB9@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D8B2D5.5005198E>