Opened 14 years ago
Closed 14 years ago
#29315 closed defect (worksforme)
Install ncurses-5.9 failed
Reported by: | jackie.MacOSX@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | ncurses |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
# 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
Attachments (1)
Change History (7)
comment:1 follow-up: 2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Keywords: | onfigure checking for C compiler default output... configure: error: C compiler cannot create executables removed |
Port: | ncurses added |
Priority: | High → Normal |
Resolution: | → invalid |
Status: | new → closed |
Type: | request → defect |
comment:2 Changed 14 years ago by jackie.MacOSX@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Changed 14 years ago by jackie.MacOSX@…
Attachment: | configure.log added |
---|
comment:3 Changed 14 years ago by jackie.MacOSX@…
Please refer to the attached.
I could configure ncurses success by manual but failed by macports.
comment:4 Changed 14 years ago by jackie.MacOSX@…
I could install the ncurses without variant "+universal" but coufigure failed with variant "+universal" by macports.
[ jackie macbook-pro ~ ]# sudo port install ncurses ---> Computing dependencies for ncurses ---> Fetching ncurses ---> Verifying checksum(s) for ncurses ---> Extracting ncurses ---> Applying patches to ncurses ---> Configuring ncurses ---> Building ncurses ---> Staging ncurses into destroot ---> Installing ncurses @5.9_0 ---> Deactivating ncurses @5.8_1+universal ---> Activating ncurses @5.9_0 ---> Cleaning ncurses
Because there're many packages's dependency on the ncurses in macports. All the packages are compiled with "+universal" variants then causing the configure necurse failed.
for example:install the bzr-git then configure ncurses failed.
[ jackie macbook-pro ~ ]# sudo port install bzr-git ---> Computing dependencies for sqlite3 ---> Dependencies to be installed: ncurses ---> Configuring ncurses Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install ncurses Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log Error: The following dependencies were not installed: ncurses Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade python27 failed To report a bug, see <http://guide.macports.org/#project.tickets> [ jackie macbook-pro ~ ]#
Please fix these bugs! Thanks a lot.
comment:5 Changed 14 years ago by jackie.MacOSX@…
I could install ncurses with variant "+universal" success after I modify the macports.conf.
macports.conf :
universal_sysroot /Developer/SDKs/MacOSX10.6.sdk[[BR]] [[BR]] # machine architectures[[BR]] - universal_archs x86_64 i386 ppc[[BR]] + universal_archs x86_64 i386[[BR]] [[BR]] # Options for generated startup items
comment:6 Changed 14 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Makes sense, Xcode 4 apparently drops PowerPC support so removing ppc from universal is the way to deal with it (FYI, I believe for 10.6 universal_archs defaults to just "x86_64 i386"). If you really need ppc you'll need to use 3.2.6 instead.
FAQ