cpp fails sanity check solved for pecl installations!


I hate this error. It was a pain to figure out what was wrong in the first place because i’m only getting it when trying to install pear/pecl extensions!

=====insanity check=====
Config.log? What config.log!? It was no where to be found because I was trying to install through the web console or from the command line. The temporary structures created to configure and make the packages get deleted upon exit with or without failure.

I found pecl:svn wanted to ask me two questions about subversion, so I was able to let it sit there while I opened another terminal to look in the temp directory and find the log. So I finally figured out what its problem was.

=====The fix=====
I had glibc installed, but it needs the backend packages for glibc, which I didn’t have installed.
====$ sudo yum install glibc-headers glibc-utils glibc-devel====

Now when I run through the installer, it works fine.
====$ pecl install svn====

This also happened to fix the same insanity check problem that a couple of other modules whined about.


Posted on June 25th, by admica in Linux.
Comments Off

Comments are closed.