[MacPorts] #33151: gcc43 fails to compile on Lion with XCode 4.2.1

MacPorts noreply at macports.org
Mon Feb 6 08:58:49 PST 2012


#33151: gcc43 fails to compile on Lion with XCode 4.2.1
------------------------------------+---------------------------------------
 Reporter:  gvibe06@…               |       Owner:  mww@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  2.0.3           
 Keywords:  gcc43 lion xcode 4.2.1  |        Port:  gcc43           
------------------------------------+---------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * owner:  macports-tickets@… => mww@…


Comment:

 The error "`C preprocessor "/lib/cpp" fails sanity check`" has been
 observed in other ports before. When the configure script decides that
 "/lib/cpp" is the name of your C preprocessor (and then it fails, because
 that's not where OS X's C preprocessor ever is), it's because the
 configure script has tried all other common C preprocessor possibilities
 and decided they are unsuitable. I don't know why that is, but the usual
 fix for this has been to explicitly inform the configure script where the
 C preprocessor is, using "`configure.env-append CPP=${configure.cpp}`".
 I'll try to reproduce the issue, and see if that fixes it.

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


More information about the macports-tickets mailing list