From owner-freebsd-java@FreeBSD.ORG Thu Aug 5 18:26:25 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE66716A4CE for ; Thu, 5 Aug 2004 18:26:25 +0000 (GMT) Received: from mail.kanetix.com (kanprd1.kanetix.com [216.220.59.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E1D543D5D for ; Thu, 5 Aug 2004 18:26:25 +0000 (GMT) (envelope-from ean@hedron.org) Received: from [192.168.100.215] (unknown [192.168.100.215]) by mail.kanetix.com (Postfix) with ESMTP id 2FF331D18A; Thu, 5 Aug 2004 14:26:24 -0400 (EDT) Message-ID: <41127BCF.9070507@hedron.org> Date: Thu, 05 Aug 2004 14:26:23 -0400 From: Ean Kingston User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Frederick N. Brier" References: <411250F3.9090603@multideck.com> In-Reply-To: <411250F3.9090603@multideck.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Installing jdk-1.4.2p6_4.tgz X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 18:26:26 -0000 Frederick N. Brier wrote: > I am not real good with FreeBSD yet and am having problems installing > the jdk-1.4.2p6_4.tgz, built on one of my machines, on another. When I > tried to do a pkg_add, it complained that it needed javavmwrapper-1.4 > and urwfonts-1.0, but did not do a remote fetch. What (I think) you want to do is: pkg_add -r javavmwrapper-1.4 # Fetch remotely along with dependencies pkg_add -r urwfonts-1.0 # same as above but the other package pkg_add jdk-1.4.2p6_4.tgz # install from local copy That way you don't have to worry about fetching all the dependencies for the stuff you fetch remotely. > So I installed > portupgrade, but it wants to rebuild the whole thing over again from the > Sun sources and patches. I have put jdk-1.4.2p6_4.tgz in the > /usr/ports/distfiles directory. But am not sure what the correct > command is. I did not want to have to hand fetch each dependency and > rerun to find out the next dependency, ad nauseum. Thank you for any help. You can tell portupgrade to prefer packages to ports (but I forget the specific command line). See the man page for portupgrade if you want to try this. I don't really like portupgrade. It seams to destablalize my system too much. I prefer cvssup and packages/ports.