【发布时间】:2010-10-25 21:59:42
【问题描述】:
为了安装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,则在尝试加载 libxmp 时会收到
ExempiLoadError异常。
我能做什么?
【问题讨论】:
标签: python macos boost boost-python