From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 05:46:05 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 17D5116A4CE for ; Fri, 11 Feb 2005 05:46:05 +0000 (GMT) Received: from smtp815.mail.sc5.yahoo.com (smtp815.mail.sc5.yahoo.com [66.163.170.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 82D9B43D4C for ; Fri, 11 Feb 2005 05:46:04 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@64.173.27.163 with login) by smtp815.mail.sc5.yahoo.com with SMTP; 11 Feb 2005 05:46:04 -0000 From: Joshua Tinnin To: freebsd-questions@freebsd.org Date: Thu, 10 Feb 2005 21:46:03 -0800 User-Agent: KMail/1.7.2 References: <20050115210617.A20158@starfire.mn.org> <20050130065321.GC16264@alzatex.com> <20050210230107.A99048@starfire.mn.org> In-Reply-To: <20050210230107.A99048@starfire.mn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200502102146.04045.krinklyfig@spymac.com> cc: John cc: "Loren M. Lang" cc: Jonathan Chen 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 05:46:05 -0000 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 ... - jt