From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 07:10:35 2005 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 8B25516A523 for ; Fri, 11 Feb 2005 07:10:35 +0000 (GMT) Received: from dexter.starfire.mn.org (starfire.skypoint.net [66.93.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A78D43D3F for ; Fri, 11 Feb 2005 07:10:34 +0000 (GMT) (envelope-from john@dexter.starfire.mn.org) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id j1B7AV999435; Fri, 11 Feb 2005 01:10:31 -0600 (CST) (envelope-from john) Date: Fri, 11 Feb 2005 01:10:31 -0600 From: John To: Joshua Tinnin Message-ID: <20050211011031.B99131@starfire.mn.org> References: <20050115210617.A20158@starfire.mn.org> <20050130065321.GC16264@alzatex.com> <20050210230107.A99048@starfire.mn.org> <200502102146.04045.krinklyfig@spymac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <200502102146.04045.krinklyfig@spymac.com>; from krinklyfig@spymac.com on Thu, Feb 10, 2005 at 09:46:03PM -0800 cc: freebsd-questions@freebsd.org Subject: Re: I need a cuppa... 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: Fri, 11 Feb 2005 07:10:35 -0000 On Thu, Feb 10, 2005 at 09:46:03PM -0800, Joshua Tinnin wrote: > On Thursday 10 February 2005 09:01 pm, John > wrote: > > On Sat, Jan 29, 2005 at 10:53:21PM -0800, Loren M. Lang wrote: > > > On Sat, Jan 29, 2005 at 10:10:00AM -0600, John wrote: > > > > On Sat, Jan 15, 2005 at 09:05:22PM -0800, Tabor Kelly wrote: > > > > > Jonathan Chen wrote: > > > > > > On Sat, Jan 15, 2005 at 09:06:17PM -0600, John wrote: > > > > > >>OK, I must be dumb as a rock, because this has to have been > > > > > >> discussed and documented 16 ways from Sunday, but I've > > > > > >> looked in the FAQ, and looked in the Handbook, and I've gone > > > > > >> through my copy of the latest edition of _The Complete > > > > > >> FreeBSD_, but I simply do NOT get how to get Java support > > > > > >> for FreeBSD.  I don't need the JDK, unless that's the only > > > > > >> way to get a viable JRE. > > > > > > > > > > > > You can't get a separate 1.4+ JRE for FreeBSD, you need to > > > > > > install the JDK; the JDK is available as a port in > > > > > > java/jdk14. > > > > OK - I'm going to cut out a lot of the old, resolved history here, > > and cut to the chase. > > > > Amazingly, I got the linux-sun-jdk14 built and installed on my NFS > > server system (the 200Mhz box) and built the full native jdk14 > > package.  It only took about 20 hours!  From what everyone had > > said, I was sure it was going to literally take days on that > > system. > > > > Anyway, now that it is built, I want to install it on my > > laptop and a few other machines in my lap that are not > > as hefty in the storage department.  When I try to install > > it on my laptop > > (reeBSD pearl.starfire.mn.org 5.3-STABLE FreeBSD 5.3-STABLE #3: Thu > > Jan 27 23:26:17 CST 2005     > > john@dauntless.starfire.mn.org:/usr/obj/usr/src/sys/PEARL  i386) I > > get the following: > > pearl# cd jdk14 > > pearl# make install > > ===>  Installing for jdk-1.4.2p7 > > ===>   jdk-1.4.2p7 depends on executable: javavm - not found > > ===>    Verifying install for javavm in /usr/ports/java/javavmwrapper > > ===>   Returning to build of jdk-1.4.2p7 > > ===>   jdk-1.4.2p7 depends on file: > > /usr/X11R6/lib/X11/fonts/URW/fonts.dir - not found ===>    Verifying > > install for /usr/X11R6/lib/X11/fonts/URW/fonts.dir in > > /usr/ports/x11-fonts/urwfonts ===>  Vulnerability check disabled, > > database not found > > => urw-fonts.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch from http://www.gimp.org/. > > fetch: http://www.gimp.org/urw-fonts.tar.gz: Not Found > > => Attempting to fetch from > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. urw-fonts.tar.gz > >                              100% of 1508 kB   51 kBps 00m00s ===> > >  Extracting for urwfonts-1.0 > > => Checksum OK for urw-fonts.tar.gz. > > ===>  Patching for urwfonts-1.0 > > ===>  Applying FreeBSD patches for urwfonts-1.0 > > ===>   urwfonts-1.0 depends on shared library: X11.6 - found > > ===>   urwfonts-1.0 depends on shared library: X11.6 - found > > ===>  Configuring for urwfonts-1.0 > > ===>  Building for urwfonts-1.0 > > nothing to be done for `all' > > this is an install-only port. > > ===>  Installing for urwfonts-1.0 > > ===>   Generating temporary packing list > > ===>  Checking if x11-fonts/urwfonts already installed > > [ -d /usr/X11R6/lib/X11/fonts ] || mkdir -p /usr/X11R6/lib/X11/fonts > > tar -cf - URW |(cd /usr/X11R6/lib/X11/fonts; tar -xf -) > > ============================================================ > > You'll have to add /usr/X11R6/lib/X11/fonts/URW > > to your X font path by either: > > > > $ xset fp+ /usr/X11R6/lib/X11/fonts/URW > > $ xset fp rehash > > > > or by adding it to your X-server configuration file (usually > > /etc/X11/XF86Config) and restarting the X-server. > > ============================================================ > > ===>   Registering installation for urwfonts-1.0 > > ===>   Returning to build of jdk-1.4.2p7 > > > > Please use `make -DWITH_DEBUG' if you want to install libraries and > > binaries with debugging support. > > > > ===>   Generating temporary packing list > > ===>  Checking if java/jdk14 already installed > > /bin/mkdir -p /usr/local/jdk1.4.2 > > cd > > /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image > > && /usr/bin/find .  | /usr/bin/cpio -pdmu -R root:wheel > > /usr/local/jdk1.4.2 168514 blocks > > /usr/bin/find -s > > /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image > > -not -type d |  /usr/bin/sed -ne > > 's#/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-im > >age#jdk1.4.2#p' >> /usr/ports/java/jdk14/work/.PLIST.mktmp install  -o > > root -g wheel -m 444 /usr/ports/java/jdk14/files/cacerts > >  /usr/local/jdk1.4.2/jre/lib/security/cacerts install  -o root -g > > wheel -m 444 /usr/ports/java/jdk14/files/cacerts > >  /usr/local/jdk1.4.2/jre/javaws/cacerts /usr/bin/find > > "/usr/local/jdk1.4.2/jre/plugin" -type d | /usr/bin/xargs /bin/chmod > > a+rx /usr/local/bin/registervm: not found > > *** Error code 127 > > > > Stop in /usr/ports/java/jdk14. > > pearl# > > > > Anybody got any clues for me? > > You need to install /usr/ports/java/javavmwrapper. When this happens, > sometimes it's worthwhile to search on Google for the name of file that > gave you the problem. In this case it's registervm, which caused the > install to fail because it's not found on your system. javavmwrapper > installs registervm, which I found by checking pkg_info -W registervm > on my system, because it's already there, but a Google search will also > show people who had the same problem, e.g., > http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/015208.html > > Just so you know ... You're right. I'm starting to get lazy. It seems like I've run into so many dead-ends on this thing, I'm starting to take shortcuts. I really do appreciate your help! Thanks. -- John Lind john@starfire.MN.ORG