5 messages in ru.sysoev.nginxRe: having problem with ./configure
FromSent OnAttachments
just startingFeb 28, 2008 6:32 pm 
Aleksandar LazicFeb 28, 2008 11:28 pm 
just startingFeb 29, 2008 12:08 am 
Igor SysoevFeb 29, 2008 12:21 am 
杨廷勇Feb 29, 2008 12:46 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: having problem with ./configureActions...
From:just starting (just@public.gmane.org)
Date:Feb 29, 2008 12:08:35 am
List:ru.sysoev.nginx

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. On Fri, Feb 29, 2008 at 12:58 PM, Aleksandar Lazic
<al-n@public.gmane.org> wrote:

Hi,

On Fre 29.02.2008 08:03, just starting wrote:

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.

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

Cheers