checking whether Python support is requested... yes checking whether /usr/bin/python2.7 version >= 2.3... yes checking for /usr/bin/python2.7 version... 2.7 checking for /usr/bin/python2.7 platform... linux2 checking for /usr/bin/python2.7 script directory... ${prefix}/lib64/python2.7/site-packages checking for /usr/bin/python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for headers required to compile python extensions... found sed: can't read /usr/lib/python2.7/config/Makefile: No such file or directory sed: can't read /usr/lib/python2.7/config/Makefile: No such file or directory sed: can't read /usr/lib/python2.7/config/Makefile: No such file or directory So it looks for /usr/lib/python2.7 instead of /usr/lib64/python2.7.
removed