[MacPorts] #59989: gdal +gcc: configure: error: C compiler cannot create executables

MacPorts noreply at macports.org
Mon Jan 20 14:39:03 UTC 2020


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

Comment (by nhchan):

 Just to echo the same issue, without the +grass variant indicated by the
 main.log and config.log files uploaded by the original reporter (i.e.,
 with only the +gcc9 variant). The errors are identical as far as I can
 tell from the corresponding log files on my machine.

 I looked at comment:ticket:59976:20 and the comments above, but must
 regretfully admit that I did not follow everything... Based on whatever I
 was able to gather in that ticket, however, my temporary solution of
 forcing an installation of `gdal` without `gcc9` (overriding the `+gcc9`
 in my **variants.conf** file) appears to be working for now:

 {{{
 $ sudo port uninstall gdal
 $ sudo port clean gdal
 $ sudo port install gdal -gcc9
 }}}

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


More information about the macports-tickets mailing list