Subject: Re: JDK for NetBSD?
To: Michael Adler <adler@glimpser.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: netbsd-help
Date: 05/30/2002 16:24:03
On Thu, May 30, 2002 at 10:06:39AM -0400, Michael Adler wrote:
> 
> > Just install Sun JDK-1.3.1_02 from pkgsrc
> 
> The sun packages keep failing for me. Have you tried them recently? What
> system version are you running and what suse versions?
> 
> <snip>
> 
> /usr/pkgsrc/lang/sun-jre13$ sudo make
> => Checksum OK for j2re-1_3_1_02-linux-i386.bin.
> ===> Extracting for sun-jre-1.3.1.0.2
> ===> Required installed package suse_compat-[0-9]*: suse_compat-6.4 found
> ===> Required installed package suse_x11-[0-9]*: suse_x11-6.4nb1 found
> trap: Illegal number: HUP
> ./install.sfx.3511: 1: Syntax error: "(" unexpected
> ===> Patching for sun-jre-1.3.1.0.2
> ===> Applying NetBSD patches for sun-jre-1.3.1.0.2
> patch: **** can't cd to /usr/pkgsrc/lang/sun-jre13/work/jre1.3.1_02: No
> such file or directory
> Patch /usr/pkgsrc/lang/sun-jre13/patches/patch-aa failed
> *** Error code 1

Firstly, NetBSD does a just-in-time su(1) at install time, if the
effective uid is not 0 - there is no need to build applications as
root. i.e. there is no need to use sudo to build the thing.

Next, if you want to find out what's going on under the covers,
use

	make PKG_DEBUG_LEVEL=2

and you'll get shedloads of debug output. That should help you to
place the error better.

Regards,
Alistair