GPT relies on several system tools. The script gpt-config is used by gpt_build and the GPT RPM to locate these tools using the $PATH variable. To see what the local settings for a GPT installation is run gpt-config with the -list flag:
bash$ gpt-config -list GNU tar located at /bin/tar GNU zip located at /bin/gzip GNU unzip located at /bin/gunzip GNU make located at /usr/bin/gmake GNU perl located at /usr/bin/perl rpm located at /bin/rpm rpmbuild located at /usr/bin/rpmbuild RPM Package License set to GNU RPM Package Vendor set to NCSA RPM Package FTP Site set to ftp.ncsa.uiuc.edu RPM Package URL set to http://www.gridpackaging.org RPM Packager set to NCSA RPM Prefix set to /usr/grid GNU target platform set to i686-pc-linux-gnu
The listing includes a bunch of RPM information because the command was run on a linux machine. Here is what it looks like on a Solaris platform.
bash$ gpt-config -list GNU tar located at /usr/ncsa/bin/tar GNU zip located at /usr/ncsa/bin/gzip GNU unzip located at /usr/ncsa/bin/gunzip GNU make located at /usr/ncsa/bin/gmake GNU perl located at /usr/ncsa/bin/perl rpm located at NOT CONFIGURED rpmbuild located at NOT CONFIGURED 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
You can use gpt-config to change these settings. For example the following sets the location of GNU tar and asks gpt-config to probe for the rest of the settings:
bash$ gpt-config -gtar=/usr/local/bin/tar -probe bash$ gpt-config GNU tar located at /usr/local/bin/tar GNU zip located at /usr/bin/gzip GNU unzip located at /usr/bin/gunzip GNU make located at /usr/local/bin/make Perl located at /usr/local/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.9
gpt-config has a flag for every setting. Run gpt-config -man to get the specifics on each flag or look here.