Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 01:10:31 -0600
From:      John <john@starfire.mn.org>
To:        Joshua Tinnin <krinklyfig@spymac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: I need a cuppa...
Message-ID:  <20050211011031.B99131@starfire.mn.org>
In-Reply-To: <200502102146.04045.krinklyfig@spymac.com>; from krinklyfig@spymac.com on Thu, Feb 10, 2005 at 09:46:03PM -0800
References:  <20050115210617.A20158@starfire.mn.org> <20050130065321.GC16264@alzatex.com> <20050210230107.A99048@starfire.mn.org> <200502102146.04045.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 10, 2005 at 09:46:03PM -0800, Joshua Tinnin wrote:
> On Thursday 10 February 2005 09:01 pm, John <john@starfire.mn.org> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050211011031.B99131>