Building Git on Red Hat-based systems
I had a case where I had to build Git on an older Red Hat based system. Unfortunately, the system was so old that yum wasn't really supported. So I had to install the needed libraries (RPMs) "by hand" via rpm -i. There was one package that I had to update via rpm -U.
On my rather bare system, I found I had to install the following RPMs to get Git to compile :
cpp curl curl-devel e2fsprogs-devel gcc glibc-devel glibc-headers glibc-kernheaders krb5-devel krb5-libs make openssl openssl-devel wget zlib-devel