2010-10-25 62 views
1

爲了安裝Python XMP Toolkit, 我 需要我的Mac上安裝Exempi,但這樣做,這是成爲一個真正的噩夢......構建升壓和Exempi在Mac


了很大的麻煩後,我最後用升壓做到了,並有夢幻般的

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,並引發錯誤,在安裝嚮導的報道:

的情況下,你還沒有安裝Exempi你會一旦您嘗試加載libxmp,就會收到ExempiLoadError異常。

我該怎麼辦?

回答

1

我假設你手動安裝了Boost,因爲它在/ usr/local中。我能夠通過MacPorts安裝Boost和Exempi。

+0

是的,我不得不手動安裝。可悲的是,我幾乎不可能使用MacPorts,因爲我生活在一個不穩定的400k共享互聯網連接的島上...... – dolma33 2010-10-26 14:18:05

0

看起來你在建立boost時沒有構建boost測試庫。您需要添加--with-testbjam invokation:

./bjam --with-test