Linux Operating System (MOSC)

MOSC Banner

curl install - configure: error: C preprocessor "/lib/cpp" fails sanity check

edited Dec 1, 2023 4:31AM in Linux Operating System (MOSC) 1 commentAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center