Macos imagemagick安装错误-体系结构不匹配
我试图通过macports安装ImageMagick,但收到以下错误消息:Macos imagemagick安装错误-体系结构不匹配,macos,imagemagick,osx-snow-leopard,Macos,Imagemagick,Osx Snow Leopard,我试图通过macports安装ImageMagick,但收到以下错误消息: Error: Cannot install imagemagick for the arch(s) 'x86_64' because Error: its dependency bzip2 is only installed for the arch 'i386' Error: and the configured universal_archs 'i386 ppc' are not sufficient. Error:
Error: Cannot install imagemagick for the arch(s) 'x86_64' because
Error: its dependency bzip2 is only installed for the arch 'i386'
Error: and the configured universal_archs 'i386 ppc' are not sufficient.
Error: Unable to execute port: architecture mismatch
To report a bug, see <http://guide.macports.org/#project.tickets>
如果您有任何建议,我们将不胜感激:这看起来与超级用户和Apple.Stackexchange上的问题相同 您是否开始在MacOS 10.5上构建这些MacPort二进制文件,然后升级到10.6?或者移动到使用10.6的新机器,并从旧机器复制MacPorts文件?然后在MacOS 10.6下构建imagemagick 您的配置文件/opt/local/etc/macports/macports.conf是否与macports.conf.default不同?这表明MacPorts环境是从10.5版迁移而来的,而不是在10.6版上新建的。那里应该有一行字,上面写着universal_archs ppc i386 ppc64 x86_64 本文将解释如何基本上更新MacOS X 10.6环境并进行完整的重建。他们的指示: 重新安装Xcode和MacPorts 更新macports.conf 保存已安装端口的列表 卸载所有端口 重新安装那些你仍然想要的 这篇博文给出的说明略有不同。基本上可以归结为: 更新macports.conf中的universal_archs行 强制使用$sudo端口升级完成重建-强制安装-