ncurses breaks gawk trying to build py27-wxpython

Ryan Schmidt ryandesign at macports.org
Tue Mar 20 22:49:07 PDT 2012


> david-curtiss-macbook:wxtab dave$ sudo port activate libiconv at 1.14_0+universal
> --->  Deactivating libiconv @1.14_0
> --->  Cleaning libiconv
> --->  Activating libiconv @1.14_0+universal
> --->  Cleaning libiconv
> david-curtiss-macbook:wxtab dave$ file /opt/local/lib/libiconv.2.dylib
> /opt/local/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures
> /opt/local/lib/libiconv.2.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc
> /opt/local/lib/libiconv.2.dylib (for architecture i386):	Mach-O dynamically linked shared library i386
> 
> { Now, that looks pretty wacky.  What gives with ncurses trying to pull that cruft in? }

So you've set universal_archs incorrectly in your macports.conf. Likely, you upgraded from an old version of MacPorts and/or an old OS (Leopard or earlier) where i386 ppc was the correct value for universal_archs. It's not anymore. Update your macports.conf. See:

https://trac.macports.org/wiki/Migration#Updatemacports.conf

Then forcibly rebuild libiconv (and other ports that are installed with the universal variant).






More information about the macports-users mailing list