[MacPorts] #51980: perl5: build fails on Sierra (library not found for -lgcc_s.10.4)

MacPorts noreply at macports.org
Fri Aug 19 14:12:47 PDT 2016


#51980: perl5: build fails on Sierra (library not found for -lgcc_s.10.4)
-------------------------------------------------+-------------------------
  Reporter:  cdhanks@…                           |      Owner:  mojca@…
      Type:  defect                              |     Status:  reopened
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:  sierra
      Port:  perl5 perl5.16 perl5.18 perl5.20    |
  perl5.22                                       |
-------------------------------------------------+-------------------------

Comment (by jrevah@…):

 I realize this is really hacky but if you just want to work and you're
 getting this error message:


 {{{
 :info:configure CMake Error at Modules/Platform/Darwin.cmake:85 (message):
 :info:configure   CMAKE_OSX_DEPLOYMENT_TARGET (10.12) is greater than
 CMAKE_OSX_SYSROOT SDK:
 :info:configure
 :info:configure
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
 :info:configure
 :info:configure   Please set CMAKE_OSX_DEPLOYMENT_TARGET to 10.11 or
 lower.
 :info:configure Call Stack (most recent call first):
 :info:configure   Modules/CMakeSystemSpecificInformation.cmake:36
 (include)
 :info:configure   CMakeLists.txt:19 (project)

 }}}

 You can edit the following file:


 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.6.1/CMakeCache.txt
 line 82
 CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.12

 change it to:
 CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.11
 }}}

 And perl should install just fine on Sierra.

-- 
Ticket URL: <https://trac.macports.org/ticket/51980#comment:33>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list