#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid * priority: High => Normal * keywords: onfigure checking for C compiler default output... configure: error: C compiler cannot create executables => * type: request => defect * port: => ncurses Old description:
# cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log version:1 :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main Searching for dependency: ncursesw :debug:main Found Dependency: receipt exists for ncursesw :msg:main :debug:main Executing org.macports.main (ncurses) :debug:main Skipping completed org.macports.fetch (ncurses) :debug:main Skipping completed org.macports.checksum (ncurses) :debug:main Skipping completed org.macports.extract (ncurses) :debug:main Skipping completed org.macports.patch (ncurses) :msg:main ---> Configuring ncurses :debug:main Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Fri Apr 29 11:09:43 CST 2011 :debug:configure Executing org.macports.configure (ncurses) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' CXXFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/.CC_PRINT_OPTIONS' PKG_CONFIG_LIBDIR='/opt/local/lib/pkgconfig' F90FLAGS='-O2' LDFLAGS='-arch x86_64 -arch i386 -arch ppc' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' FFLAGS='-O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with- manpage-format=normal --enable-pc-files --enable-symlinks --with- chtype=int' :info:configure checking for egrep... grep -E :info:configure Configuring NCURSES 5.9 ABI 5 (Fri Apr 29 11:09:45 CST 2011) :info:configure checking build system type... x86_64-apple-darwin10.7.0 :info:configure checking host system type... x86_64-apple-darwin10.7.0 :info:configure checking target system type... x86_64-apple-darwin10.7.0 :info:configure Configuring for darwin10.7.0 :info:configure checking for prefix... /opt/local :info:configure checking for gcc... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output... configure: error: C compiler cannot create executables :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with- manpage-format=normal --enable-pc-files --enable-symlinks --with- chtype=int " returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ncurses): org.macports.destroot org.macports.configure org.macports.build :notice:configure Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log
New description: {{{ # cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log version:1 :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main Searching for dependency: ncursesw :debug:main Found Dependency: receipt exists for ncursesw :msg:main :debug:main Executing org.macports.main (ncurses) :debug:main Skipping completed org.macports.fetch (ncurses) :debug:main Skipping completed org.macports.checksum (ncurses) :debug:main Skipping completed org.macports.extract (ncurses) :debug:main Skipping completed org.macports.patch (ncurses) :msg:main ---> Configuring ncurses :debug:main Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Fri Apr 29 11:09:43 CST 2011 :debug:configure Executing org.macports.configure (ncurses) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' CXXFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/.CC_PRINT_OPTIONS' PKG_CONFIG_LIBDIR='/opt/local/lib/pkgconfig' F90FLAGS='-O2' LDFLAGS='-arch x86_64 -arch i386 -arch ppc' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' FFLAGS='-O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage- format=normal --enable-pc-files --enable-symlinks --with-chtype=int' :info:configure checking for egrep... grep -E :info:configure Configuring NCURSES 5.9 ABI 5 (Fri Apr 29 11:09:45 CST 2011) :info:configure checking build system type... x86_64-apple-darwin10.7.0 :info:configure checking host system type... x86_64-apple-darwin10.7.0 :info:configure checking target system type... x86_64-apple-darwin10.7.0 :info:configure Configuring for darwin10.7.0 :info:configure checking for prefix... /opt/local :info:configure checking for gcc... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output... configure: error: C compiler cannot create executables :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage- format=normal --enable-pc-files --enable-symlinks --with-chtype=int " returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ncurses): org.macports.destroot org.macports.configure org.macports.build :notice:configure Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log }}} -- Comment: [wiki:FAQ#missingxcode] -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS