Attempting to Rebuild a RPM Using 'rpmbuild --rebuild' Fails with "gcc: error trying to exec 'cc1': execvp: No such file or directory" (Doc ID 2041493.1)

Last updated on AUGUST 11, 2015

Applies to:

Linux OS - Version Oracle Linux 4.4 and later
Linux x86-64
Linux x86

Symptoms

 On Oracle Linux, when attempting to rebuild a rpm e.g. for a kernel driver, the rpmbuild command fails with the following error:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms