Apache 2.4.12 installation issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to install Apache 2.4.12 on Red hat Linux 6.5 server.but I am getting the below error while configuring apache using “./configure --prefix=/home/NarneB/mw/apache-httpd-2.4.4/pcre”. Can you please help me?

 

Here are the sptes we have followed to install apache 2.4.12

1)      Downloaded httpd-2.4.12 binaries and extracted

2)      Downloaded and extracted latest APR and APR-UTIL and copied to httpd-2.4.12/scrlib.

3)      Downloaded pcre-8.37 and extracted

4)      ./configure --prefix=/home/NarneB/mw/apache-httpd-2.4.4/pcre” command executed from pcre-8.37.

 

Here I see the c++ compiled installed on this server.

wsx-dev-vm-mwlab-1 [1]:rpm -qa |grep gcc

libgcc-4.1.2-55.el5

gcc-4.1.2-55.el5

libgcc-4.1.2-55.el5

gcc-c++-4.1.2-55.el5

 

wsx-dev-vm-mwlab-1 [3]:rpm -qa |grep cpp

cpp-4.1.2-55.el5

 

ERROR:

wsx-dev-vm-mwlab-1 [20]:./configure --prefix=/home/NarneB/mw/apache-httpd-2.4.4/pcre

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

checking whether make supports nested variables... (cached) yes

checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking whether gcc understands -c and -o together... yes

checking dependency style of gcc... gcc3

checking for ar... ar

checking the archiver (ar) interface... ar

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking whether gcc understands -c and -o together... (cached) yes

checking dependency style of gcc... (cached) gcc3

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking how to run the C preprocessor... /lib/cpp

configure: error: in `/home/NarneB/mw/pcre-8.37':

configure: error: C preprocessor "/lib/cpp" fails sanity check

See `config.log' for more details

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux