Morimoto, Mark K
2007-Nov-15 22:08 UTC
[Samba] RE: configure: error: C compiler cannot create executables
> _____________________________________________ > From: Morimoto, Mark K > Sent: Thursday, November 15, 2007 11:26 AM > To: 'samba@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 >
Greg Byshenk
2007-Nov-16 09:58 UTC
[Samba] RE: configure: error: C compiler cannot create executables
On Thu, Nov 15, 2007 at 01:00:19PM -0800, Morimoto, Mark K wrote:> > 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.What does the 'config.log' say? Does it indicate exactly what it is trying to do or which compiler it is trying to use? I've seen this error ("C compiler cannot create executables") when someone has attempted to use the Intel compilers when they don't have a license for them. I think that you might also see it if you are missing some libraries. But the log should provide at least some hints.> > # ./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 > instructions: https://lists.samba.org/mailman/listinfo/samba-- greg byshenk - gbyshenk@byshenk.net - Leiden, NL
samba-3.0.23b-1-noads-sunos5.9-sparc.pkg.gz This is the current binary from samba.org. The file name includes sparc so I am not sure this will run on an x86 platform of solaris? Mark
I am attaching this to the previous email. This is the error I get when trying to start up samba. Does this mean I am trying to run this binary on an x86 platform? # ./samba start ./samba: /opt/samba/sbin/smbd: cannot execute Samba daemon starting ./samba: /opt/samba/sbin/nmbd: cannot execute NetBIOS daemon starting -----Original Message----- From: Morimoto, Mark K Sent: Friday, November 16, 2007 1:02 PM To: samba@lists.samba.org Subject: [Samba] Will this binary work on solaris x86? samba-3.0.23b-1-noads-sunos5.9-sparc.pkg.gz This is the current binary from samba.org. The file name includes sparc so I am not sure this will run on an x86 platform of solaris? Mark -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Maybe Matching Threads
- Error while executing smbd in unix x86 workstation
- Samba with ADS on Sun Solaris System
- Solaris 10 Configuration file
- Upgrading to latest version on Solaris 2.6...
- configure with --with-ads failed get "krb5 libs don't have all features required for Active Directory support" error