为了安装Python XMP Toolkit,我需要在我的 Mac 上安装 Exempi,但这样做会成为一场真正的噩梦......
经过很多麻烦,我终于用boost成功了,而且很棒
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/usr/local/boost_1_44_0
The following directory should be added to linker library paths:
/usr/local/boost_1_44_0/stage/lib
现在我正在尝试使用命令配置 Exempi
./configure --with-boost=/usr/local/boost_1_44_0/
但它总是卡在这个:
checking for Boost headers version >= 1.33.0... /usr/local/boost_1_44_0/
checking for Boost's header version... 1_44
checking for the toolset name used by Boost for g++... gcc40
checking boost/test/unit_test.hpp usability... yes
checking boost/test/unit_test.hpp presence... yes
checking for boost/test/unit_test.hpp... yes
checking for the Boost unit_test_framework library... no
configure: error: Could not find the flags to link with Boost unit_test_framework
我已经用谷歌搜索了几天,但我找不到任何有用的东西......以前有人遇到过同样的问题吗?我会为伸出援助之手而死...欢迎每一个提示!
编辑:
我已经做到了port
,现在终于说exempi @2.1.1_0 (active)
.
问题是当我尝试加载 XMP 工具包时,它找不到 exempi,并引发错误,如安装指南中所述:
如果您尚未安装 Exempi,则在
ExempiLoadError
尝试加载 libxmp 时会出现异常。
我能做些什么?