[MacPorts] #59989: gdal +gcc: configure: error: C compiler cannot create executables (was: gdal +gcc build failure)

MacPorts noreply at macports.org
Mon Jan 20 05:05:32 UTC 2020


#59989: gdal +gcc: configure: error: C compiler cannot create executables
------------------------------+--------------------
  Reporter:  TheLastLovemark  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.2
Resolution:                   |   Keywords:
      Port:  gdal             |
------------------------------+--------------------

Comment (by ryandesign):

 The main.log says:

 {{{
 configure: error: C compiler cannot create executables
 }}}

 And the config.log says the reason for this is:

 {{{
 gcc-mp-9: error: unrecognized command line option '-stdlib=libc++'
 }}}

 I explained in comment:ticket:59976:20 why this is happening and how to
 fix it.

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


More information about the macports-tickets mailing list