[MacPorts] #64952: Can Macports base be built as universal? configure: error: C preprocessor "/lib/cpp" fails sanity check

MacPorts noreply at macports.org
Wed Apr 6 21:04:43 UTC 2022


#64952: Can Macports base be built as universal? configure: error: C preprocessor
"/lib/cpp" fails sanity check
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, leopard, ppc64
      Port:                |
---------------------------+-------------------------------------

Comment (by ryandesign):

 Yes, MacPorts installers have always (since the introduction of Macs witth
 Intel processors) been built universal.

 Instead of specifying `-arch` flags manually within `CC` and `CXX`, use
 the configure argument `--with-universal-archs="ppc ppc64"`.

 If that fails, attach the config.log so we can see why it failed.

-- 
Ticket URL: <https://trac.macports.org/ticket/64952#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list