From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 02:53:07 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 6CA2B16A4CE for ; Tue, 21 Sep 2004 02:53:07 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47F7A43D48 for ; Tue, 21 Sep 2004 02:53:07 +0000 (GMT) (envelope-from cs@ctzen.com) Received: from charon.ctzen.com (h0040055d253a.ne.client2.attbi.com[24.147.64.178]) by comcast.net (rwcrmhc13) with ESMTP id <2004092102530601500eavmae>; Tue, 21 Sep 2004 02:53:06 +0000 Received: from [192.168.100.1] (luna.ctzen.com [192.168.100.1]) by charon.ctzen.com (Postfix) with ESMTP id 38BD33B794; Mon, 20 Sep 2004 22:53:00 -0400 (EDT) Message-ID: <414F9791.5090100@ctzen.com> Date: Mon, 20 Sep 2004 22:53:05 -0400 From: Chiang Seng Chang User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gooober33-freebsd@yahoo.com References: <20040921024627.3533.qmail@web51303.mail.yahoo.com> In-Reply-To: <20040921024627.3533.qmail@web51303.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: need help: install jdk14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 02:53:07 -0000 i think i have those already. kldstat: Id Refs Address Size Name 1 11 0xc0400000 35c3d8 kernel 2 1 0xc075d000 50dbc acpi.ko 3 1 0xc3e97000 6000 linprocfs.ko 4 1 0xc3ea5000 19000 linux.ko 5 1 0xc41b6000 4000 if_tun.ko /etc/fstab: /dev/ad0s1a / ufs rw 1 1 /dev/ad0s2b none swap sw 0 0 /dev/ad0s3d /home ufs rw 2 2 proc /proc procfs rw 0 0 linproc /compat/linux/proc linprocfs rw 0 0 mount: /dev/ad0s1a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad0s3d on /home (ufs, local, soft-updates) procfs on /proc (procfs, local) linprocfs on /compat/linux/proc (linprocfs, local) i am using: "portupgrade -vN java/jdk14" also tried: "portinstall -v java/jdk14" btw, running 5.2.1 -cs BSDjunkie wrote: > --- 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"