
Building an HP SFS client kit manuallyC–2
C.1 Overview
The build_SFS_client.sh example script provided on the HP StorageWorks Scalable File Share Client
Software CD-ROM works for many common distributions, and HP recommends that you use it if possible.
The use of the script is described in Section 3.2.
However, if the script does not work for your client distribution, you can build the kit manually, as described
in this appendix.
The specific instructions for building an HP SFS client kit for your client systems may vary depending on your
client distribution. In most cases, any user that has an rpm build environment configured can build an
HP SFS client kit. There are two exceptions, as follows; in these cases, the kit must be built as the root user:
• When the script is being run on a SLES 9 SP3 system
• When the script is being used to build the InfiniBand interconnect driver
C.2 Building the HP SFS client kit manually
TIP: In some of the steps in this procedure, you have a choice between building RPM files or using an
alternative process (for example, in Step 14, you can build a kernel RPM file or create a built kernel tree).
In general, HP recommends that you build the RPM files, because you can deploy the RPM files on multiple
client nodes.
Only in cases where only one client node will be used, or each client node is unique, or where RPM files
cannot be deployed, should you use the alternative processes.
To build the HP SFS client kit manually, perform the following steps:
1. Ensure that the prerequisites for building a client kit (as described in Section 3.2.1) are in place.
2. Create the directory where you will perform the build.
For the purposes of the examples, this will be assumed to be the /build/SFS_client_build/
directory, for which the following commands would be used:
$ mkdir -p /build/SFS_client_build/
$ cd /build/SFS_client_build/
3. In the directory you created, create the following subdirectories:
• src/
• build/
• output/
• tools/
4. Set and export the PATH environment variable to include tools/bin, as follows:
$ export PATH=/build/SFS_client_build/tools/bin:"${PATH}
5. If your versions of the autoconf and automake utilities are not as specified in Section 3.2.1,
rebuild the appropriate versions under the tools/ directory, as follows:
$ cp /mnt/cdrom/client_enabler/src/common/autotools/auto*.tar.gz tools/
$ cd tools/
$ tar -xzpf autoconf-2.59.tar.gz
$ cd autoconf-2.59
$ ./configure --prefix=/build/SFS_client_build/tools
$ cd ../
$ tar -xzpf automake-1.7.9.tar.gz
$ cd automake-1.7.9
$ ./configure --prefix=/build/SFS_client_build/tools
$ cd ../../
Komentarze do niniejszej Instrukcji