我在安裝Cufflinks時遇到問題。在安裝Cufflinks之前,我先安裝了Boost:如何解決安裝Cufflinks和Boost時發生的問題?
bjam --prefix=/Users/jimmy/Downloads/boost_1_46_1/ toolset=gcc link=static install
這似乎沒關係。
但是,安裝Cufflinks時,似乎安裝Boost時出現問題。見下面的錯誤:
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for boostlib >= 1.38.0... configure: error: We could not detect the boost libraries (version 1.38 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
dhcp128036164110:cufflinks-1.0.3 jimmy$ ./configure --prefix=/Users/jimmy/Downloads/ --with-boost=/Users/jimmy/Downloads/boost_1_46_1/
如果我錯過了什麼,你能告訴我現在怎麼了?謝謝。
PS:我使用的是Mac OS X(非Windows)
你有沒有嘗試設置'$ BOOST_ROOT'而不是通過'--with-boost'? – ildjarn
如何設置$ BOOST_ROOT?即使這是一個問題,袖釦,袖口袖口,袖口,他們都運行良好。有點奇怪。 – jimmy
這只是一個環境變量 - 將其設置爲Boost安裝的根路徑('/ Users/jimmy/Downloads/boost_1_46_1')。 – ildjarn