#29904: Error installing +universal variant of ICU port in SnowLeopard ------------------------------------+--------------------------------------- Reporter: kasty.jose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: icu universal macports | Port: icu ------------------------------------+--------------------------------------- The following alternatives work ok: {{{
sudo port install icu sudo port install icu +x86_64 (however it builds i386 binaries instead of x86_64) sudo port install icu +i386 }}}
The following alternative does not work (+universal = i386 x86_64): {{{
sudo port install icu +universal
---> Configuring icu ---> Configuring icu for architecture x86_64 export CPP= CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 CPPFLAGS= CFLAGS=-pipe -O2 -arch x86_64 -O2 CXXFLAGS=-pipe -O2 -arch x86_64 -O2 LDFLAGS=-arch x86_64 MAKE= Running ./configure --prefix=/opt/local --mandir=/opt/local/share/man --enable-static --disable-samples for MacOS X (Darwin) using the GNU C++ compiler checking for ICU version numbers... release 4.6.1, library 46.1, unicode version 6.0 checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking target system type... i386-apple-darwin10.2.0 checking whether to build debug libraries... no checking whether to build release libraries... yes checking for gcc... /usr/bin/gcc-4.2 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/work/icu /source-x86_64': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details ./runConfigureICU: ./configure failed shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/work/icu /source-x86_64" && ./runConfigureICU MacOSX --prefix=/opt/local --mandir=/opt/local/share/man --enable-static --disable-samples " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Warning: the following items did not execute (for icu): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for icu is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/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/29904> MacPorts <http://www.macports.org/> Ports system for Mac OS