Subject: pkg/11879: airportbasestationconfig pkg doesn't like our java
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lukem@wasabisystems.com>
List: netbsd-bugs
Date: 01/03/2001 05:17:15
>Number: 11879
>Category: pkg
>Synopsis: airportbasestationconfig pkg doesn't like our java
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 03 05:17:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Luke Mewburn
>Release: NetBSD 1.5
>Organization:
Luke Mewburn <lukem@wasabisystems.com> http://www.wasabisystems.com
Luke Mewburn <lukem@netbsd.org> http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.
>Environment:
System: NetBSD argo.akimbo.com.au 1.5_BETA2 NetBSD 1.5_BETA2 (ARGO) #0: Thu Nov 16 19:55:34 EST 2000 lukem@argo.akimbo.com.au:/z/src/netbsd-1-5/src/sys/arch/i386/compile/ARGO i386
>Description:
the net/airportbasestationconfig package needs java.
there's a couple of problems however:
* if you don't have java installed, the package
dependencies will install jdk 1.1.8.
jdk 1.1.8's /usr/pkg/java/bin/java doesn't support
`-jar', and i couldn't work out another way to get
1.1.8 to run the program.
* if you manually install sun-jre13 to get java2 [1]
which supports -jar, the package won't work because
stuff is in /usr/pkg/java/jre/bin not /usr/pkg/java/bin.
this requires minor hackery of the
/usr/pkg/bin/airportbasestationconfig shell script
to work (change the PATH as appropriate).
[1] gee, thanks sun. call it `jdk 1.3' and `java 2'. now
that's confusion for the unwary... :/
>How-To-Repeat:
try and install net/airportbasestationconfig without a java
runtime installed and noticed that the executable won't run
(an error will occur from java about `-jar' being an invalid
option).
>Fix:
change the package depend up sun-jre13 or sun-jdk13 (or whatever).
while you're there, fix the package to use a PATH of
/usr/pkg/java/jre/bin instead of /usr/pkg/java/bin
>Release-Note:
>Audit-Trail:
>Unformatted: