PECL install fails

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2009-05-23T12:47:18Z Indexed on 2010/03/21 19:21 UTC
Read the original article Hit count: 502

Filed under:
|
|
|

Hey!

I have browsed every Google result, read all the forum posts about this error, but I cannot solve it.

When using PECL install for anything, I always end up getting this error:

checking whether the C compiler works... configure: error: cannot run C compiled programs.

Everything else succeeds up to that point them bam!

I'm using CentOS 4.3, PEAR is the latest stable version, GCC is a stable and recent version. Everything is working as it should, but the C compiler always seems to error. I've tried to make tmp have the right privilages for the operation by temporarily enabling it using:

mount -o remount,exec,suid /tmp

But that doesn't work.

I've literally tried everything that has been suggested by to no avail. Any ideas?

© Stack Overflow or respective owner

Related posts about c

    Related posts about pecl