[MacPorts] #60624: freeimage @3.18.0 build failure - 'posix_memalign' was not declared in this scope

MacPorts noreply at macports.org
Fri Jun 12 01:55:18 UTC 2020


#60624: freeimage @3.18.0 build failure - 'posix_memalign' was not declared in this
scope
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  (none)
  programmingkidx        |
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  legacy-os tiger leopard snowleopard
      Port:  freeimage   |
-------------------------+-------------------------------------------------

Comment (by kencu):

 The easiest thing to do here is to try compiling the software with a newer
 compiler. I can't quite tell which compiler is being used right now, but
 your options are to bump the compiler up to gcc7 or clang-3.4 or newer.

 {{{
 sudo port -v install MYPORT configure.compiler=macports-gcc-7
 }}}
 is the easiest way to try out different compilers. There is a big list of
 compiler specs here you can find to try out clang compilers you might have
 installed, etc.

 <https://trac.macports.org/wiki/UsingTheRightCompiler>

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


More information about the macports-tickets mailing list