# Having problem with ./configure

**URL:** <https://www.ruby-forum.com/t/having-problem-with-configure/130533>\
**Category:** NGINX\
**Created:** [February 29, 2008, 3:40am UTC](https://www.ruby-forum.com/t/having-problem-with-configure/130533 "2008-02-29T03:40:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![just\_starting](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Post date:** [February 29, 2008, 3:40am UTC](https://www.ruby-forum.com/t/having-problem-with-configure/130533/1 "2008-02-29T03:40:15Z")

</div>

hi all,

I tried to install nginx in a new machine and got the following error:

$ ./configure  
checking for OS

- Linux 2.6.9-22.ELsmp i686  
checking for C compiler … not found

After that i run  
$yum install gcc\*  
which installed abt 17 packages.

Still getting same prob.

How to resolve this.  
Thanks.

---

<div class="post-metadata">

**Author:** ![just\_starting](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Post date:** [February 29, 2008, 8:37am UTC](https://www.ruby-forum.com/t/having-problem-with-configure/130533/2 "2008-02-29T08:37:06Z")

</div>

Hi,

On Fre 29.02.2008 08:03, just starting wrote:

> $yum install gcc\*  
> which installed abt 17 packages.
> 
> Still getting same prob.

what is the content of objs/autoconf.err?  
what shows gcc -version?  
what is the output of rpm -qa|egrep gcc?

Cheers

Aleks

---

<div class="post-metadata">

**Author:** ![just\_starting](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Post date:** [February 29, 2008, 9:18am UTC](https://www.ruby-forum.com/t/having-problem-with-configure/130533/3 "2008-02-29T09:18:30Z")

</div>

hi,

> > > > what is the content of objs/autoconf.err?

* * *

## checking for C compiler objs/autotest.c:2:23: /usr/include/sys/types.h: Permission denied

#include \<sys/types.h\>

## int main() { ; return 0; }

## gcc -o objs/autotest objs/autotest.c

> > > gcc-version  
> > > gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)

> > > what is the output of rpm -qa|egrep gcc?

compat-gcc-32-3.2.3-47.3  
gcc-java-3.4.6-9  
gcc4-c+±4.1.2-14.EL4  
compat-gcc-32-c+±3.2.3-47.3  
libgcc-3.4.6-9  
gcc-3.4.6-9  
gcc4-4.1.2-14.EL4  
gcc4-gfortran-4.1.2-14.EL4  
gcc-objc-3.4.6-9  
gcc-gnat-3.4.6-9  
gcc-c+±3.4.6-9  
gcc-g77-3.4.6-9  
gcc4-java-4.1.2-14.EL4

Ok, what I think is happening is I have to do sudo ./configure.

Developers can help in pointing out the error file generated after  
build.

Thanks,  
Paritosh.

---

<div class="post-metadata">

**Author:** ![just\_starting](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Post date:** [February 29, 2008, 9:56am UTC](https://www.ruby-forum.com/t/having-problem-with-configure/130533/4 "2008-02-29T09:56:24Z")

</div>

hi sir!  
You are try command:

yum groupinstall “Development Tools”

./configure

åœ¨2008-02-29ï¼Œ"Igor S." [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) å†™é“ï¼š

---

<div class="post-metadata">

**Author:** ![just\_starting](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Post date:** [February 29, 2008, 9:29am UTC](https://www.ruby-forum.com/t/having-problem-with-configure/130533/5 "2008-02-29T09:29:09Z")

</div>

On Fri, Feb 29, 2008 at 01:38:58PM +0530, just starting wrote:

> ```
> ;
> 
> ```
> 
> compat-gcc-32-3.2.3-47.3  
> gcc-g77-3.4.6-9  
> gcc4-java-4.1.2-14.EL4
> 
> Ok, what I think is happening is I have to do sudo ./configure.
> 
> Developers can help in pointing out the error file generated after build.

You have a broken developmnet environment: header files should be  
available  
to read for everyone. You should not run ./configure and make under  
root.
