GPT provides two solaris packages that contain binaries for GPT and the tools it needs. You need root access to install these packages. Here are the instructions:
Get the files GPT-3.1.gz and ToolsForGPT-1.00.gz from here
Unzip the packages by running gunzip *.gz.
install the packages by running /usr/sbin/pkgadd -vd GPT-3.1 and /usr/sbin/pkgadd -vd ToolsForGPT-1.00. pkgadd will asks you whether you want the package installed. Just type "1". The packages will be installed in /usr/grid/gpt and /usr/grid/tools_for_gpt respectively. pkgadd will ask you if you want these directories created. Just answer "y". Here is an edited example:
bash$ /usr/sbin/pkgadd -vd /export/home/mbletzin/tmp/GPT-3.1
The following packages are available:
1 GPT Grid Packaging Tools
(sparc) 3.1
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1
Processing package instance <GPT> from </export/home/mbletzin/tmp/GPT-3.1>
Grid Packaging Tools
(sparc) 3.1
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
NCSA at University of Illinois
The selected base directory </usr/grid/gpt> must exist before
installation is attempted.
Do you want this directory created now [y,n,?,q] y
Using </usr/grid/gpt> as the package base directory.
## Processing package information.
## Processing system information.
46 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Grid Packaging Tools as <GPT>
## Installing part 1 of 1.
/usr/grid/gpt/etc/gpt/dtd/globus_flavors.dtd
/usr/grid/gpt/etc/gpt/dtd/globus_package.dtd
[...snipped...]
[ verifying class <none> ]
Installation of <GPT> was successful.
bash$ /usr/sbin/pkgadd -vd /export/home/mbletzin/tmp/ToolsForGPT-1.00
The following packages are available:
1 ToolsForGPT tools needed for GPT package
(sparc) 1.00
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1
Processing package instance <ToolsForGPT> from </export/home/mbletzin/tmp/ToolsForGPT-1.00>
tools needed for GPT package
(sparc) 1.00
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
NCSA at University of Illinois
Using </usr/grid/tools_for_gpt> as the package base directory.
## Processing package information.
## Processing system information.
183 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing tools needed for GPT package as <ToolsForGPT>
## Installing part 1 of 1.
/usr/grid/tools_for_gpt/bin/a2p
/usr/grid/tools_for_gpt/bin/c2ph
/usr/grid/tools_for_gpt/bin/cpan
/usr/grid/tools_for_gpt/bin/dprofpp
[...snipped...]
After the packages are installed, gpt-config needs to be run so that it uses the tools in /usr/grid/tools_for_gpt. To do this prepend /usr/grid/tools_for_gpt/bin to your $PATH variable and set $GPT_LOCATION to /usr/grid/gpt. Then run /usr/grid/gpt/sbin/gpt-config -probe. Here is an example:
bash$ export PATH=/usr/grid/tools_for_gpt/bin/:$PATH bash$ export GPT_LOCATION=/usr/grid/gpt bash$ /usr/grid/gpt/sbin/gpt-config -probe bash$ /usr/grid/gpt/sbin/gpt-config GNU tar located at /usr/grid/tools_for_gpt/bin//tar GNU zip located at /usr/grid/tools_for_gpt/bin//gzip GNU unzip located at /usr/grid/tools_for_gpt/bin//gunzip GNU make located at /usr/grid/tools_for_gpt/bin//make Perl located at /usr/grid/tools_for_gpt/bin//perl rpm located at Not Available rpmbuild located at Not Available RPM Package License set to N/A RPM Package Vendor set to N/A RPM Package FTP Site set to N/A RPM Package URL set to N/A RPM Packager set to N/A RPM Prefix set to N/A GNU target platform set to sparc-sun-solaris2.8 bash$