[MacPorts] #33451: zlib: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version').

MacPorts noreply at macports.org
Sun Mar 4 15:45:55 PST 2012


#33451: zlib: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild
-version').
--------------------------------+-------------------------------------------
  Reporter:  rajeeja@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.0.4                                
Resolution:  invalid            |    Keywords:                                       
      Port:  zlib               |  
--------------------------------+-------------------------------------------

Comment(by rajeeja@…):

 Doesn't work, I run two commands 1.  sudo xcode-select -switch
 /Applications/Xcode.app
  and 2. sudo port install zlib. It gives the same error/warning. Let me
 know how to proceed. Thanks for the help.

 /Users/rajeevjain/cgm/itaps
 ==> sudo xcode-select -switch /Applications/Xcode.app

 /Users/rajeevjain/cgm/itaps
 ==> sudo port install zlib
 Warning: xcodebuild exists but failed to execute
 Warning: Xcode appears to be installed but xcodebuild is unusable; some
 ports will likely fail to build.
 Warning: You may need to run `sudo xcode-select -switch
 /Applications/Xcode.app`
 --->  Extracting zlib
 Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild
 -version').
 Error:
 Error: If you have not installed Xcode, install it now; see:
 Error: http://guide.macports.org/chunked/installing.xcode.html
 Error:
 Error: Target org.macports.extract returned: unable to find Xcode
 Log for zlib is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

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


More information about the macports-tickets mailing list