[MacPorts] #30628: C compiler cannot create executables under Lion

MacPorts noreply at macports.org
Tue Jun 19 05:53:46 PDT 2012


#30628: C compiler cannot create executables under Lion
-------------------------------------+--------------------------------------
  Reporter:  whittaker007@…          |       Owner:  macports-tickets@…                   
      Type:  defect                  |      Status:  closed                               
  Priority:  Normal                  |   Milestone:                                       
 Component:  ports                   |     Version:  2.0.1                                
Resolution:  invalid                 |    Keywords:                                       
      Port:                          |  
-------------------------------------+--------------------------------------

Comment(by ajh158@…):

 After installing Command Line Tool, I also had to do 'sudo xcode-select
 -switch /Applications/Xcode.app/' as described in
 [http://stackoverflow.com/questions/9849034/how-to-run-install-xcodebuild
 this SO article].

 Replying to [comment:26 ajh158@…]:
 > Replying to [comment:25 ilsinszkibal@…]:
 > >
 > > Hi,
 > >
 > > Had the same problem and found the solution on an other bug. You need
 Xcode's Command Line Tool.
 > >
 > > Go into XCode/Preferences/Downloads tab and there you can install the
 Command Line Tool.
 > >
 > > Balazs
 >
 > Thank you for this information - this helped me!

-- 
Ticket URL: <https://trac.macports.org/ticket/30628#comment:27>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list