0

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.

4

2 回答 2

1

它找不到so文件。我不确定正确的解决方案是什么,但可以解决以下问题:

sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so /usr/lib/libpython2.7.so

但在这一切之后,我得到了(不相关的)编译错误,所以我放弃了,只使用了 Ubuntu 稍微过时的软件包。

于 2013-07-26T17:00:24.820 回答
0

Ubunto 13.04:Desinstale o mysql-workbench 安装:$ sudo apt-get -f upgrade

安装 o python-dev: $ sudo apt-get install python-dev

通过终端 o 工作台安装:$ sudo apt-get install mysql-workbench

Para mim funcionou。

于 2013-06-22T12:27:24.023 回答