curl install - configure: error: C preprocessor "/lib/cpp" fails sanity check
OL7.9 and I was asked to install a specific version of curl (curl 7.76.0 introduced 'fail-with-body' option which we want to use). Current version is 7.29.0 and I found some notes on installing this latest version and was able to install it on a couple of servers but now on this 'other' server it is failing the ./configure --with-ssl step with the following:
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o