Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42614 closed defect (invalid)

configure: error: cannot run C++ compiled programs

Reported by: Xsenon973@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port:

Description

Hello Problem: when i choose the gcc compiler 'none, by

sudo port select --set gcc none

Package, which I attemping to install, cofigures normaly, but 'make' step causes many errors When i use

 sudo port select --set gcc mp-gcc48

Appears such error at configure step: configure: error: cannot run C++ compiled programs

Attachments (1)

config.log (10.5 KB) - added by Xsenon973@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by Xsenon973@…

Attachment: config.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

The log shows you are on Mavericks, and it shows the error is:

conftest.cpp:11:19: fatal error: stdio.h: No such file or directory

Does /usr/include/stdio.h exist or not? If not, you have not installed the Xcode command line tools; please do so by running "xcode-select --install".

comment:2 Changed 11 years ago by Xsenon973@…

Thank you, please close the ticket, everything is OK.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Keywords: gcc removed
Note: See TracTickets for help on using tickets.