尝试在 Fedora 21 上安装 PythonMagic 0.9.11 时出错

Error while trying to install PythonMagic 0.9.11 on Fedora 21

下面是我在Pythin0.9.11文件夹下运行make时命令行的输出。我在软呢帽 21.

 [user@localhost PythonMagick-0.9.11]$ make          
 Making all in pythonmagick_src                
 make[1]: Entering directory '/home/user/PythonMagick-0.9.11/pythonmagick_src'           
  CXX      libpymagick_la-_DrawableFillRule.lo                      
 _DrawableFillRule.cpp:3:28: fatal error: boost/python.hpp: No such file or directory                       
  #include <boost/python.hpp>                           
                        ^             
 compilation terminated.                        
 Makefile:645: recipe for target 'libpymagick_la-_DrawableFillRule.lo' failed         
 make[1]: *** [libpymagick_la-_DrawableFillRule.lo] Error 1          
 make[1]:  Leaving directory '/home/user/PythonMagick-0.9.11             /pythonmagick_src'                 
 Makefile:641: recipe for target 'all-recursive' failed            
 make: *** [all-recursive] Error 1         ``         

以下是config.log

的痕迹
gcc version 4.9.2 20141101 (Red Hat 4.9.2-1) (GCC) 
configure:3165: $? = 0
configure:3154: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3165: $? = 4
configure:3154: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3165: $? = 4
configure:3185: checking whether the C++ compiler works
configure:3207: g++    conftest.cpp -lposix >&5
/bin/ld: cannot find -lposix
collect2: error: ld returned 1 exit status
configure:3211: $? = 1
configure:3249: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PythonMagick"
| #define PACKAGE_TARNAME "PythonMagick"
| #define PACKAGE_VERSION "0.9.11"
| #define PACKAGE_STRING "PythonMagick 0.9.11"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "PythonMagick"
| #define VERSION "0.9.11"
| /* end confdefs.h.  */       

我安装了 gcc-c++。我不确定我哪里出错了或者我错过了什么。我对此很陌生。

对于所有遇到同样问题的人,我终于明白了问题所在。我安装了 boost 但没有安装 boost-devel。

sudo yum install boost-devel