I am having problems compiling MySQL Workbench on Ubuntu 13.04. I downloaded the source from the MySQL site and during the configure part where it checks the dependencies it says:
checking for python2.6... no
checking for python2.7... yes
checking for Python libraries... not found
configure: error: Python C development headers/libraries not found
I than tried to hack and modify the configure file and removed the part where it checked for the Python headers.
By doing that the checks succeeds and I can run make
, but during make
process it says it cannot find Python.h
(which is expected):
python_context.h:28:21: fatal error: Python.h: No such file or directory
So I searched the installation directory of Python 2.7
and found Python.h
. I searched all over the Internet, but couldn't find an answer how to solve this problem. Any help would be appreciated.