Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2000 21:10:22 +0200
From:      Sebastiaan van Erk <sebster@sebster.com>
To:        freebsd-emulation@freeBSD.ORG
Subject:   Re: Installing additional Linux shared objects (was: Re: xview)
Message-ID:  <20000927211022.B13249@sebster.com>

next in thread | raw e-mail | index | archive | help
Hi there!

> Moved to -emulation.
> 
> That won't work for a Linux binary, I've come across this problem myself,
> is there a way to install a Linux RPM into the /compat/linux "properly"
> I mean like the linux_base port does?

Well I checked out how linux base does it, and it's like this:

rpm --root /usr/compat/linux --ignoreos --install <rpmfile>

However, the linux_base port also cleaned out /usr/compat/linux/tmp,
/usr/compat/linux/var/tmp, /usr/compat/linux/dev, etc., which can
cause the installation scripts of your rpm to complain quite loudly
and fail anyway. For xview I made temporary versions of these dirs
and files (and no, you cannot symlink them because the --root flags
does a chroot). It's not nice, so if anyone knows a BETTER way to
do this, I'm interested. But xview works.

Greetings,
Seb*


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000927211022.B13249>