From owner-freebsd-emulation Sun Mar 26 8:31:30 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 2971B37B918; Sun, 26 Mar 2000 08:31:27 -0800 (PST) (envelope-from someone@earthlink.net) Received: from earthlink.net (pool0178.cvx6-bradley.dialup.earthlink.net [209.178.158.178]) by snipe.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id IAA18553; Sun, 26 Mar 2000 08:31:21 -0800 (PST) Message-ID: <38DE3B05.B0CAC8FE@earthlink.net> Date: Sun, 26 Mar 2000 08:29:57 -0800 From: Kevin Bailey X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Cc: marcel@freebsd.org Subject: linux_devtools port doesn't install Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When I try to install the linux_devtools port, it fails with this output: % make install ===> Installing for linux_devtools-6.1 ===> linux_devtools-6.1 depends on file: /compat/linux/etc/redhat-release - found kernel-headers-2.2.12-20.i386.rpm failed dependencies: /bin/sh is needed by kernel-headers-2.2.12-20 *** Error code 1 I believe the problem is that its using /usr/local/bin/rpm when it should be using /compat/linux/bin/rpm (because only the latter knows what has already been installed under /compat/linux, AFAIK.) Replacing all the rpm's in the Makefile with /compat/linux/bin/rpm makes it work so the theory would seem to be correct. I guess another approach would be to temporarily prepend /compat/linux/bin to the PATH. If I've earned my gold star, could I get the answer to another question ? When building source based rpms (e.g. rpm --rebuild some-i386-src.rpm), what should my PATH be set to, { /bin:/usr/bin } or { /compat/linux/bin:/compat/linux/usr/bin } or a combination of the two ? Thanks much, /krb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message