#33287: zlib: can't build with Xcode 4.3 ------------------------------------------+--------------------------------- Reporter: webmaster@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: zlib | ------------------------------------------+--------------------------------- Changes (by zstefan@…): * status: closed => reopened * resolution: wontfix => Comment: I have a similar problem, but sudo port clean zlib / didnt work in my case How to downgrade to xcode 4.2.3? thats the main.log ..........:~ ........$ sudo port install ImageMagick Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build. ---> Computing dependencies for ImageMagick ---> Dependencies to be installed: bzip2 expat fontconfig freetype zlib libiconv gperf fontconfig ghostscript autoconf help2man gettext ncurses ncursesw p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 perl5 perl5 autoconf automake jbig2dec xz jpeg lcms2 tiff libidn libpaper libpng libtool pkgconfig glib2 libffi xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg- libxcb python27 db46 libedit openssl python_select sqlite3 python27 xorg- libpthread-stubs xorg-xcb-proto libxml2 libxml2 xorg-util-macros xorg- xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice liblzma urw-fonts webp ---> Fetching archive for bzip2 ---> Attempting to fetch bzip2-1.0.6_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/bzip2 ---> Fetching bzip2 ---> Attempting to fetch bzip2-1.0.6.tar.gz from http://lil.fr.distfiles.macports.org/bzip2 ---> Verifying checksum(s) for bzip2 ---> Extracting bzip2 ---> Applying patches to bzip2 ---> Configuring bzip2 ---> Building bzip2 ---> Staging bzip2 into destroot ---> Installing bzip2 @1.0.6_0 ---> Activating bzip2 @1.0.6_0 ---> Cleaning bzip2 ---> Fetching archive for expat ---> Attempting to fetch expat-2.0.1_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/expat ---> Fetching expat ---> Attempting to fetch expat-2.0.1.tar.gz from http://ignum.dl.sourceforge.net/project/expat/expat/2.0.1 ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat ---> Staging expat into destroot ---> Installing expat @2.0.1_1 ---> Activating expat @2.0.1_1 ---> Cleaning expat ---> Fetching archive for zlib ---> Attempting to fetch zlib-1.2.6_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/zlib ---> Fetching zlib ---> Attempting to fetch zlib-1.2.6.tar.bz2 from http://lil.fr.distfiles.macports.org/zlib ---> Verifying checksum(s) for zlib ---> 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 Error: Failed to install zlib 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: The following dependencies were not installed: fontconfig freetype zlib libiconv gperf fontconfig ghostscript autoconf help2man gettext ncurses ncursesw p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 perl5 perl5 autoconf automake jbig2dec xz jpeg lcms2 tiff libidn libpaper libpng libtool pkgconfig glib2 libffi xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg- libxcb python27 db46 libedit openssl python_select sqlite3 python27 xorg- libpthread-stubs xorg-xcb-proto libxml2 libxml2 xorg-util-macros xorg- xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice liblzma urw-fonts webp Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <https://trac.macports.org/ticket/33287#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS