[SOLVED] configure: error: no acceptable C compiler found in $PATH install oci8

Few days ago I got little bit problem for installing oci8 in Centos 7 with PHP 5.6, it’s error said:
checking for cc... no
checking for gcc... no
configure: error: in `/var/tmp/pear-build-root9arfuf/oci8-2.0.12':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

I have posted some solutions before in this blog, maybe you should read here for complete installation tutorial oci8 in linux Centos with PHP 5.4 – 5.6, but why now I post another one in different thread, because I need my reader more easily to read and understand.

As you see on error log above, problem occurred because my server have no gcc library yet. So the solution is just simple, you need to install gcc library first, then you can try install oci8 again with no error.

SOLUTION

I’ll tell you my step until I solved my problem, just run this script on your server and wait until installation process done.
yum install gcc glibc glibc-common gd gd-devel -y

I hope this one help you, see ya.

Leave a Reply