On Fri, 4 Jan 2002 16:37:21 +0530
"Arun Kumar" <[EMAIL PROTECTED]> wrote:

> ----- Original Message -----
> From: "Robert J. Clark" <[EMAIL PROTECTED]>
> Sent: Friday, January 04, 2002 3:26 PM
> 
> > On Fri, 4 Jan 2002 15:09:00 +0530
> > "Arun Kumar" <[EMAIL PROTECTED]> wrote:
> >
> > > I was trying to build CVS on Solaris 2.6 using gcc for i386 family:
> > > The output is as below.
> >
> > > # ./configure --prefix=/usr/local
> > > checking whether the C compiler (gcc  ) works... no
> > > configure: error: installation or configuration problem: C compiler cannot 
>create executables.
> >
> > Check the file config.log to see what the problem with GCC was.
> >
> 
> This is what my config.log file contains:
> 
> ****************************************************************
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1072: checking for gcc
> configure:1185: checking whether the C compiler (gcc  ) works
> configure:1201: gcc -o conftest    conftest.c  1>&5
> ./configure: gcc: not found
> configure: failed program was:
> 
> #line 1196 "configure"
> #include "confdefs.h"
> 
> main(){return(0);}
> 
> *********************************************************************
> 
> I think this contradicts with what i got on CLI.
> but gcc is already installed.Please let me know if u can get anything from
> this log file.

It looks to me as though gcc is not in your path. What happens when you
type in just gcc at the command prompt? 

You may need to add the directory where the gcc executable is installed
(often /usr/local/bin) to your PATH environment setting.

- Rob


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to