From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 13:49:12 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 2BC7D16A4CE for ; Tue, 21 Sep 2004 13:49:12 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2C7743D2D for ; Tue, 21 Sep 2004 13:49:11 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 15008 invoked from network); 21 Sep 2004 13:49:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.no-ip.com) ([66.92.78.145]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Sep 2004 13:49:11 -0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id F2FBFE; Tue, 21 Sep 2004 09:49:10 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Chiang Seng Chang References: <414F92AC.9000000@ctzen.com> <448yb3pzdc.fsf@be-well.ilk.org> <41502F03.9040100@ctzen.com> From: Lowell Gilbert Date: 21 Sep 2004 09:49:10 -0400 In-Reply-To: <41502F03.9040100@ctzen.com> Message-ID: <44k6un3f6x.fsf@be-well.ilk.org> Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org 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 13:49:12 -0000 Please don't top-post. http://catb.org/~esr/jargon/html/T/top-post.html Chiang Seng Chang writes: > Lowell Gilbert wrote: > > Chiang Seng Chang writes: > > > >>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. > >> > >>pkg_info | grep linux: > >> > >>linux_base-debian-3.0.23_1 Debian base set for the Linux mode > >> > >>pkgtools.conf: > >> > >> ALT_PKGDEP = { > >> 'emulators/linux_base' => 'emulators/linux_base-debian', > >> } > >> > >>i'm at wits end, pls help. > > You need linux-sun-jdk14 installed to "bootstrap" the native jdk14 > > build. It depends on (the Linux) libc.so.6, which it tries to get > > from linux_base. However, linux_base-debian also provides that file, > > so I'm not sure why it's trying to install another linux_base. Is the > > file there? Are you ports up-to-date? > > > ls /compat/linux/lib: > > -rwxr-xr-x 1 root wheel 1.1M Apr 28 2002 libc-2.2.5.so* > lrwxr-xr-x 1 root wheel 13B Sep 18 13:53 libc.so.6@ -> libc-2.2.5.so > > the ports are up to date. > > i got this feeling that its ignoring the ALT_PKGDEP in pkgtools.conf. Well, yes; it's being installed by the port directly, not by portupgrade. But the port should notice that libc.so.6 is installed and not try to provide it...