Building an HP SFS client kit manuallyC–8
b. Generate the spec file, by entering the following commands:
$ m4 -D_VERSION=2.2 -D_RELEASE=0 -D_LICENSE=commercial
-D_URL=http://www.hp.com/go/hptc -D_DISTRIBUTION="%{distribution}"
-D_VENDOR="SFS client manual" -D_PACKAGER=put_your_email_address_here
-D_HPLS_INSTALL_DIR="/usr/opt/hpls" -D_STANDALONE_BUILD=1 lustre-
client.spec.m4
> ../../output/specs/lustre-client.spec
c. Copy the hpls-lustre tarball file into the output/src directory, by entering the following
command:
$ cp hpls-lustre.tar.gz ../../output/src/
d. Build the RPM file, as follows:
$ rpmbuild -ba ../../output/specs/lustre-client.spec
$ cd ../../
To build a hpls-lustre-client tree, perform the following steps:
a. Extract the sources, as follows:
$ cd build
$ tar -xzpf ../src/lustre_client.tgz
$ cd lustre_client
$ tar -xzpf hpls-lustre.tar.gz
b. Build the tree, as follows:
$ cd lustre
$ make STANDALONE_BUILD=1
$ cd ../../../
18. Build the hpls-diags-client software.
There are two alternative processes for building the hpls-diags-client software: you can create
RPM files, or you can build a tree. Both of these methods are described here.
To create hpls-diags-client RPM files, perform the following steps:
a. Extract the sources, as follows:
$ cd build
$ tar -xzpf ../src/diags_client.tgz
$ cd diags_client
b. Generate the spec file, by entering the following commands:
$ m4 -D_VERSION=2.2 -D_RELEASE=0 -D_LICENSE=commercial
-D_URL=http://www.hp.com/go/hptc -D_DISTRIBUTION="%{distribution}"
-D_VENDOR="SFS client manual" -D_PACKAGER=put_your_email_address_here
-D_HPLS_INSTALL_DIR="/usr/opt/hpls" -D_STANDALONE_BUILD=1 diags.spec.m4 >
../../output/specs/diags.spec
c. Copy the hpls-diags tarball file into the output/src directory, by entering the following
command:
$ cp hpls-diags.tar.gz ../../output/src/
d. Build the RPM file, as follows:
$ rpmbuild -ba ../../output/specs/diags.spec
$ cd ../../
To build a hpls-diags-client tree, perform the following steps:
a. Extract the sources, as follows:
$ cd build
$ tar -xzpf ../src/diags_client.tgz
$ cd diags_client
$ tar -xzpf hpls-diags.tar.gz
b. Build the tree, as follows:
$ cd diags
$ make STANDALONE_BUILD=1
$ cd ../../../
Commenti su questo manuale