HP PSP can't find Red Hat kernel source code

The HP Proliant Support Pack (PSP) compiles a number of Linux drivers from source, and thus requires the presence of the Linux source code on the server. The HP install script (ex: install750.sh) will look for the presence of a symlink called “build” in the /lib/modules/ directory.

If if cannot find the source, code, the install script will fail.

To overcome this problem, simply make a symlink to the proper source code directory tree (usually found in the /usr/src/kernels/ directory.

For example,

ln -s /usr/src/kernels/2.6.9-34.0.2.EL-i686 /lib/modules/2.6.9-34.0.2.ELsmp/build