From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 02:46:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E9DB16A4CE for ; Tue, 21 Sep 2004 02:46:28 +0000 (GMT) Received: from web51303.mail.yahoo.com (web51303.mail.yahoo.com [206.190.38.169]) by mx1.FreeBSD.org (Postfix) with SMTP id A796943D2D for ; Tue, 21 Sep 2004 02:46:27 +0000 (GMT) (envelope-from gooober33-freebsd@yahoo.com) Message-ID: <20040921024627.3533.qmail@web51303.mail.yahoo.com> Received: from [216.23.123.229] by web51303.mail.yahoo.com via HTTP; Mon, 20 Sep 2004 19:46:27 PDT Date: Mon, 20 Sep 2004 19:46:27 -0700 (PDT) From: BSDjunkie To: FreeBSD Questions In-Reply-To: <414F92AC.9000000@ctzen.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: need help: install jdk14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gooober33-freebsd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 02:46:28 -0000 --- Chiang Seng Chang wrote: > hi, > > the error: > > >> Checksum OK for > rpm/libstdc++-2.96-112.7.1.i386.rpm. > ===> Patching for linux_base-7.1_7 > ===> linux_base-7.1_7 depends on executable: rpm - > found > ===> Configuring for linux_base-7.1_7 > ===> Installing for linux_base-7.1_7 > ===> linux_base-7.1_7 conflicts with installed > package(s): > linux_base-debian-3.0.23_1 > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > Stop in /usr/ports/emulators/linux_base. > *** Error code 1 > Stop in /usr/ports/java/linux-sun-jdk14. > *** Error code 1 > Stop in /usr/ports/java/jdk14. > Chiang, Been there myself. You need to load a kernel module: kldload linprocfs.ko and then mount the linux process file system. I have in my /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 (the above should only be on one line) After mounting the linprocfs and doing a 'make clean', then recompiling I was able to get java installed. I know it takes a long time to compile...but it was the only way that I could get it to work myself. Hope this helps, Mark Withers