Re: [Ilugc] Problem with gcc+CentOS 5.6

2011-09-14 Thread Karanbir Singh
On 09/03/2011 06:36 PM, Zico wrote:
> Hi, I need to install nginx in my CentOS-5.6 box. But it is showing some
> error like:
> 
> *# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module
> --with-cc-opt='-Wno-error'
> --add-module='/var/lib/passenger-standalone/3.0.8-x86_64-ruby1.8.7-linux-gcc4.1.2-1002/support/ext/nginx'
> checking for OS
>  + Linux 2.6.18-238.19.1.el5 x86_64
> checking for C compiler ... found but is not working
> 
> ./configure: error: C compiler gcc is not found

try starting with a : CC=/usr/bin/gcc ./configure

if that still does not work for you, paste in the actual check from your
configure test here in an email, its possible that is broken and/or
doing the wrong thing
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Problem with gcc+CentOS 5.6

2011-09-03 Thread Zico
Hi, I need to install nginx in my CentOS-5.6 box. But it is showing some
error like:

*# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module
--with-cc-opt='-Wno-error'
--add-module='/var/lib/passenger-standalone/3.0.8-x86_64-ruby1.8.7-linux-gcc4.1.2-1002/support/ext/nginx'
checking for OS
 + Linux 2.6.18-238.19.1.el5 x86_64
checking for C compiler ... found but is not working

./configure: error: C compiler gcc is not found

*I have installed gcc and g++ and these are already there:

1. gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc
/usr/share/man/man1/gcc.1.gz
2. g++: /usr/bin/g++ /usr/share/man/man1/g++.1.gz

Can anyone please help me out?

-- 
Best,
Zico
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc