configure: error: C++ preprocessor "/lib/cpp" fails sanity check

according to some articles on web:



#yum install glibc-headers

#yum install gcc-c++


To solve the error de>C++ preprocessor "/lib/cpp" fails sanity checkde> while compiling Subversion, you need to download GCC, CPP and G++ by installing the following packages

gcc cpp g++

but that is for other Linux distribution system, my is Ubuntu, so we should install the needed libs

sudo aptitude install gcc cpp g++

this will download and install the essential lib that is build related, such as gcc g++