[MacPorts] #62540: gd2: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.2' (was: impossible to install gnuplot because of gd2)

MacPorts noreply at macports.org
Wed Mar 31 03:25:47 UTC 2021


#62540: gd2: clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.2'
----------------------------+--------------------
  Reporter:  adolfo-avella  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:  bigsur
      Port:  gd2            |
----------------------------+--------------------
Changes (by ryandesign):

 * keywords:   => bigsur


Comment:

 Ok, main.log says:
 {{{
 configure: error: C compiler cannot create executables
 }}}
 and config.log says the reason for that is:
 {{{
 clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.2'
 }}}
 We have seen this in other tickets and as I recall the problem is that
 your Xcode command line tools are too old. Please manually install the
 version that matches your Xcode version (which, according to your
 main.log, is 12.4):
 https://developer.apple.com/download/more/?=Command%20Line%20Tools%20for%20Xcode%2012.4

 Remember to manually update your command line tools every time you update
 Xcode.

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


More information about the macports-tickets mailing list