为了安装Python XMP Toolkit,
一世
需要在我的Mac上安装Exempi,但这已成为一场噩梦...
在经历了很多麻烦之后,我终于获得了成功,并且经历了
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
我去过googlin了几天,但找不到任何有用的信息...
有人遇到过同样的问题吗?我会死的伸出援助之手……每一个提示都是值得欢迎的!
编辑:
我已经用
port
做到了,现在终于说exempi @2.1.1_0 (active)
。问题是,当我尝试加载XMP工具包时,它找不到示例,并引发错误,如安装指南中所述:
如果您尚未安装Exempi,则在尝试加载libxmp时会出现
ExempiLoadError
异常。我能做什么?
最佳答案
我假设您手动安装了Boost,因为它位于/ usr / local中。我可以通过MacPorts安装Boost和Exempi。