Troubleshooting
Problem
This technote explains how to resolve an error, make[3]: gcc: Command not found, that can occur when attempting to rebuild the Linux kernel in order to create the IBM Rational ClearCase (CC) MVFS module.
Symptom
After the initial ClearCase installation fails and it is determined that the next step is to follow the directions in the Preparing Linux for ClearCase Installation white paper and rebuilding instructions in /var/adm/rational/clearcase/mvfs/mvfs_src/README.txt, the make step fails as seen below:
/var/adm/rational/clearcase/mvfs/mvfs_src # make
Makefile:75: mvfs_param.mk.config: No such file or directory
cd . && /opt/rational/clearcase/install/kernel_guess
Enter path to your toplevel kernel source directory.
Default is [/lib/modules/2.6.16.60-0.21-default/build]:
User specified:Linux source directory: /lib/modules/2.6.16.60-0.21-default/build
make -C /lib/modules/2.6.16.60-0.21-default/build SUBDIRS=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.16.60-0.21-obj/s390/default'
make -C ../../../linux-2.6.16.60-0.21 O=../linux-2.6.16.60-0.21-obj/s390/default
make[3]: gcc: Command not found
LD /var/adm/rational/clearcase/mvfs/mvfs_src/built-in.o
CC [M] /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_vfsops.o
/bin/sh: gcc: command not found
make[4]: *** [/var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_vfsops.o] Error 127
make[3]: *** [_module_/var/adm/rational/clearcase/mvfs/mvfs_src] Error 2
make[2]: *** [_all] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.60-0.21-obj/s390/default'
make: *** [all] Error 2
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21358560