I'm having problems installing the zip pecl module. It outputting the error below...
Would anyone know why it's failing? Prior to this error I had a permission problem of which I rectified by removing the noexec/nosuid permissions from /tmp. It's now decided to throw this "cannot run c compiled programs" error.
I've tried to check config.log, but I can't seem to find it.
This is what mount outputs:
#mount | grep /tmp
/dev/sda3 on /tmp type ext3 (rw)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)
I'm running CentOS 4.4
I would appreciate any help.
Code:
#pecl install zip
downloading zip-1.8.0.tgz ...
Starting to download zip-1.8.0.tgz (59,749 bytes)
..............done: 59,749 bytes
58 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
building in /var/tmp/pear-build-admin/zip-1.8.0
running: /tmp/tmpqZc37R/zip-1.8.0/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/tmp/tmpqZc37R/zip-1.8.0/configure' failed
I've tried to check config.log, but I can't seem to find it.
This is what mount outputs:
#mount | grep /tmp
/dev/sda3 on /tmp type ext3 (rw)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)
I'm running CentOS 4.4
I would appreciate any help.