The command I was trying to run is this:
pkgadd -va admin -d . SUNWj3rt
With this I have an admin file with the entry "basedir=/sds/j2se1.4" which is where I want it installed. The results from this are as follows:
# pkgadd -va admin -d . SUNWj3rt
Processing package instance SUNWj3rt from /opt/work/shane/java1.4
J2SDK 1.4 runtime environment
(sparc) 1.4.0,REV=2002.01.30.06.00
Copyright 2001 Sun Microsystems, Inc. All rights reserved.
Copyright 2001 Sun Microsystems, Inc. Tous droits rservs.
Do you want to create a new instance of this package [y,n,?,q] y
Using /sds/j2se1.4 as the package base directory.
## Processing package information.
## Processing system information.
1 package pathname is already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Installation of SUNWj3rt.2 was suspended (administration).
No changes were made to the system.
Using the -R option I had to take out the basedir setting from my admin file, but the results are as follows:
# pkgadd -va admin -d . -R /sds/j2se1.4 SUNWj3rt
Processing package instance SUNWj3rt from /opt/work/shane/java1.4
J2SDK 1.4 runtime environment
(sparc) 1.4.0,REV=2002.01.30.06.00
Copyright 2001 Sun Microsystems, Inc. All rights reserved.
Copyright 2001 Sun Microsystems, Inc. Tous droits rservs.
Using /sds/j2se1.4 as the package base directory.
## Processing package information.
## Processing system information.
1 package pathname is already properly installed.
## Verifying package dependencies.
WARNING:
The SUNWcar package "Core Architecture, (Root)" is a
prerequisite package and should be installed.
WARNING:
The SUNWkvm package "Core Architecture, (Kvm)" is a
prerequisite package and should be installed.
WARNING:
The SUNWcsr package "Core Solaris, (Root)" is a
prerequisite package and should be installed.
WARNING:
The SUNWcsu package "Core Solaris, (Usr)" is a
prerequisite package and should be installed.
WARNING:
The SUNWcsd package "Core Solaris Devices" is a
prerequisite package and should be installed.
WARNING:
The SUNWmfrun package "Motif RunTime Kit" is a
prerequisite package and should be installed.
WARNING:
The SUNWlibC package "Sun Workshop Compilers Bundled
libC" is a prerequisite package and should be
installed.
Installation of SUNWj3rt was suspended (administration).
No changes were made to the system.
It looks like it can't see any of the other packages if you do this, which is not what I want. It just doesn't seem like it should be this hard.
[ March 13, 2002: Message edited by: Shane Roylance ]