[MacPorts] #33287: zlib: can't build with Xcode 4.3

MacPorts noreply at macports.org
Fri Mar 30 20:15:20 PDT 2012


#33287: zlib: can't build with Xcode 4.3
------------------------------------------+---------------------------------
  Reporter:  webmaster@…                  |       Owner:  ryandesign@…           
      Type:  defect                       |      Status:  closed                 
  Priority:  Normal                       |   Milestone:                         
 Component:  ports                        |     Version:  2.0.3                  
Resolution:  invalid                      |    Keywords:                         
      Port:  zlib                         |  
------------------------------------------+---------------------------------
Changes (by ryandesign@…):

 * cc: scanner85@… (added)


Comment:

 Replying to [comment:14 scanner85@…]:
 > For install zlib I seting xcode-select & adding symlink:
 >
 {{{
 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
 cd  /Applications/Xcode.app/Contents/Developer/usr/bin/
 ln -s llvm-gcc-4.2 clang
 sudo port install -d zlib
 }}}

 Please remove the symlink you created. It does not belong there.

 > May be better set CC=gcc for environment.

 No: On Xcode 4.0 and 4.1 we default to llvm-gcc-4.2. On Xcode 4.2 and up
 we default to clang. On Xcode 4.2 and up gcc isn't even installed anymore.
 Individual ports might override that as needed, but to my knowledge, zlib
 does not need to do so.

 This ticket is done; please do not write in it anymore. If you have
 further questions about how to use MacPorts, please write to the macports-
 users mailing list.

-- 
Ticket URL: <https://trac.macports.org/ticket/33287#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list