configure: error: C preprocessor "/lib/cpp" fails sanity check On my system, for whatever reason, I ended up with a directory /usr/include/machine, containing only a symlink "i386 -> i386"; removing the directory, and symlinking machine to i386, fixed this. -s