[Samba] RE: configure: error: C compiler cannot create executables
Morimoto, Mark K
mark.k.morimoto at boeing.com
Thu Nov 15 21:00:19 GMT 2007
> _____________________________________________
> From: Morimoto, Mark K
> Sent: Thursday, November 15, 2007 11:26 AM
> To: 'samba at lists.samba.org'
> Subject: configure: error: C compiler cannot create executables
>
> Hello,
>
> I get this when I run ./configure. I have searched for other problems
> and others who had the problem say its due to cc not being installed.
> Well its not but I have gcc.
>
> So I saw where someone put define CC=gcc and then ran the ./configure
> command. I tried it but still the same error.
>
> So what is the solution? Should I install C? I am running this on a
> solaris 9 on x86.
>
> Mark
>
>
>
> # ./configure
> SAMBA VERSION: 3.0.26a
> LIBREPLACE_LOCATION_CHECKS: START
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking target system type... i386-pc-solaris2.10
> LIBREPLACE_LOCATION_CHECKS: END
> LIBREPLACE_CC_CHECKS: START
> checking for gcc... gcc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> # echo $PATH
> /bin:/usr/bin:/usr/ucb:/etc:/usr/atria/bin:/usr/dt/bin:/usr/sbin:/usr/
> openwin/bin:/opt/gcc/bin
>
More information about the samba
mailing list