configure: error: C compiler cannot create executables

View: New views
3 Messages — Rating Filter:   Alert me  

configure: error: C compiler cannot create executables

by William Davis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am getting this same "complier can not create executables" error in  
5 or 6 different ports.
this one is specifically vim-app:

configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... no
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... configure: error:  
C compiler cannot create executables
See `config.log' for more details.
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_editors_vim-app/work/vim71" && ./configure  
--prefix=/Applications/MacPorts/ --enable-gui=carbon --without-x --
disable-gpm --mandir=/opt/local/share/man --with-tlib=ncurses --enable-
multibyte " returned error 77
Command output: configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... no
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... configure: error:  
C compiler cannot create executables
See `config.log' for more details.

Warning: the following items did not execute (for vim-app):  
org.macports.destroot org.macports.configure org.macports.build
DEBUG:
Error: Unable to upgrade port: 1


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.2 Darwin 9.2.0
XQuartz 2.1.4 - (xorg-server 1.3.0-apple10)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: configure: error: C compiler cannot create executables

by William Siegrist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have XCode installed?


-Bill

On Mar 21, 2008, at 10:52 AM, William Davis wrote:

> I am getting this same "complier can not create executables" error in
> 5 or 6 different ports.
> this one is specifically vim-app:
>
> configure: creating cache auto/config.cache
> checking whether make sets $(MAKE)... no
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See `config.log' for more details.
> Error: Target org.macports.configure returned: configure failure:
> shell command " cd "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync
> .macports.org_release_ports_editors_vim-app/work/vim71" && ./configure
> --prefix=/Applications/MacPorts/ --enable-gui=carbon --without-x --
> disable-gpm --mandir=/opt/local/share/man --with-tlib=ncurses --
> enable-
> multibyte " returned error 77
> Command output: configure: creating cache auto/config.cache
> checking whether make sets $(MAKE)... no
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See `config.log' for more details.
>
> Warning: the following items did not execute (for vim-app):
> org.macports.destroot org.macports.configure org.macports.build
> DEBUG:
> Error: Unable to upgrade port: 1
>
>
> William Davis
> frstanATbellsouthDOTnet
> Mac OS X.5.2 Darwin 9.2.0
> XQuartz 2.1.4 - (xorg-server 1.3.0-apple10)
> Mac Mini Intel Duo @ 1.86 GHz
>
> Mundus vult decepi, ego non
>
> _______________________________________________
> macports-users mailing list
> macports-users@...
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
wsiegrist@...
408 862 7337







_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

smime.p7s (3K) Download Attachment

Re: configure: error: C compiler cannot create executables

by William Davis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That was it! I had reinstalled 10.5 .0 and re-upgraded (dont ask) but  
overlooked the need to re-install XCode.
thanks Bill

W.D.

On Mar 21, 2008, at 2:07 PM, William Siegrist wrote:

> Do you have XCode installed?
>
>
> -Bill
>
> On Mar 21, 2008, at 10:52 AM, William Davis wrote:
>> I am getting this same "complier can not create executables" error in
>> 5 or 6 different ports.
>> this one is specifically vim-app:
>>
>> configure: creating cache auto/config.cache
>> checking whether make sets $(MAKE)... no
>> checking for gcc... /usr/bin/gcc-4.0
>> checking for C compiler default output file name... configure: error:
>> C compiler cannot create executables
>> See `config.log' for more details.
>> Error: Target org.macports.configure returned: configure failure:
>> shell command " cd "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_editors_vim-app/work/vim71" && ./
>> configure
>> --prefix=/Applications/MacPorts/ --enable-gui=carbon --without-x --
>> disable-gpm --mandir=/opt/local/share/man --with-tlib=ncurses --
>> enable-
>> multibyte " returned error 77
>> Command output: configure: creating cache auto/config.cache
>> checking whether make sets $(MAKE)... no
>> checking for gcc... /usr/bin/gcc-4.0
>> checking for C compiler default output file name... configure: error:
>> C compiler cannot create executables
>> See `config.log' for more details.
>>
>> Warning: the following items did not execute (for vim-app):
>> org.macports.destroot org.macports.configure org.macports.build
>> DEBUG:
>> Error: Unable to upgrade port: 1
>>
>>
>> William Davis
>> frstanATbellsouthDOTnet
>> Mac OS X.5.2 Darwin 9.2.0
>> XQuartz 2.1.4 - (xorg-server 1.3.0-apple10)
>> Mac Mini Intel Duo @ 1.86 GHz
>>
>> Mundus vult decepi, ego non
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users@...
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>
>
>
> ----
> William Siegrist
> Software Support Engineer
> Mac OS Forge
> http://macosforge.org/
> wsiegrist@...
> 408 862 7337
>
>
>
>
>



William Davis
frstanATbellsouthDOTnet
Mac OS X.5.2 Darwin 9.2.0
XQuartz 2.1.4 - (xorg-server 1.3.0-apple10)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users