我无法安装PythonMagick,所有问题都在Boost :: Python中。我正在安装boost wirh brew:
brew install boost
还尝试从源代码安装boost:
./bootstrap.sh --prefix=/usr/local/Cellar/boost --with-libraries=python
./b2 install
每次我配置PythonMagick时,我都在告诉它在哪里:
./configure --prefix=/usr/local/Cellar/PythonMagick CPPFLAGS="-I /usr/local/Cellar/boost/ -I /usr/local/Cellar/python/2.7.3/include/python2.7/" LDFLAGS=-L/usl/local/lib
我总是得到错误:检查Boost :: Python库是否可用......没有