I have the minimal install from CentOS-7-x86_64-Everything-1708.iso running in VirtualBox.
Due to an Apache HTTPD dependency issue, I am trying to configure pcre via:
./configure --prefix /usr/local/pcre/8.41
but I end up with:
configure: error: You need a C++ compiler for C++ support.
I find GCC/CPP/CC via
whereis gcc
whereis cpp
whereis cc
and, respectively, receive:
cc: /usr/bin/cc
cpp: /usr/bin/cpp /usr/lib/cpp /usr/share/man/man1/cpp.1.gz
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
yum install gcc
reports:
...
Package gcc-4.8.5-16.el7_4.1.x86_64 already installed and latest version
Nothing to do
Can anyone point me in the right direction?
I am quite green in regards to administering Linux from scratch but I am trying really hard to learn how to install Apache/PHP via make
since yum
's latest PHP is 5.4.
./configure --prefix /usr/local/pcre/8.41
gcc
is a C compiler - the C++ compilerg++
would usually be packaged separatelygcc-c++
in specific? Wouldyum install gcc*
be advisable?