install build-essential or its equivalent. A normal desktop install does not have that by default. on Fedora: sudo yum groupinstall "Development Tools"