help with installing/updating "gettext" & other files in 64-bit snow leopard architecture

Ryan Schmidt ryandesign at macports.org
Wed Aug 4 22:59:03 PDT 2010


On Aug 4, 2010, at 23:38, Faddah Steve Yuetsu Wolf wrote:

> --->  Configuring gettext
> Error: You cannot install gettext for the architecture(s) x86_64 because
> Error: its dependency expat only contains the architecture(s) i386.
> Error: 
> Error: Did you upgrade to a new version of Mac OS X? If so, please see
> Error: 
> Error:     http://trac.macports.org/wiki/Migration
> Error: 
> Error: Target org.macports.configure returned: incompatible architectures in dependencies
> Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log
> Error: Unable to upgrade port: 1
> To report a bug, see <http://guide.macports.org/#project.tickets>

You have an i386 expat installed on your Mac. Since you're using Snow Leopard on a 64-bit capable Mac, everything installed by your MacPorts should be installed for x86_64. That means either you changed macports.conf previously to build i386 and now changed it back to x86_64 in order to encounter this error (doesn't sound like you did this, or you'd already know this). Or you had an i386 expat installed with MacPorts on a previous Mac running Leopard or earlier that you migrated to this Mac, or you had expat installed with MacPorts on Leopard or earlier on this Mac and then upgraded this Mac to Snow Leopard (sounds like you didn't do these things either). Or, and this is what I guess happened, some other program you installed decided it would be a good idea to install an i386 expat in the prefix MacPorts claims as its own (this is not a good idea for that program to have done). If you can't explain how this i386 expat got on your system, who knows what else got on your system, and your cleanest path to success will be to follow the uninstall instructions in the MacPorts guide to uninstall all of MacPorts. Then begin anew and install MacPorts again. This time there will be no unexplained cruft lying around and things should work.

http://guide.macports.org/





More information about the macports-users mailing list