You are not logged in.
Hi!
I tried to compile the MySQL Workbench source code. But, in make, I got this error:
checking for python2.6... no
checking for python2.7... yes
checking for Python libraries... File "<string>", line 6
print "-L" + cfg['LIBDIR'] + " -l" + cfg['LDLIBRARY'].lstrip("lib").rstrip(".so")
^
SyntaxError: invalid syntax
File "<string>", line 2
print sysconfig.get_python_inc()
^
SyntaxError: invalid syntax
not found
configure: error: Python C development headers/libraries not foundHow could I solve this?
Thanks.
Last edited by Uchiha (2013-05-05 13:39:19)
Linux user #519886
Offline
It seems that the python3 interpreter is used. Somewhere in the code you'll have to replace calls to "python" with calls to "python2".
Edit: You should use the AUR package.
Last edited by progandy (2013-05-05 05:47:44)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Are you using an AUR package https://aur.archlinux.org/packages/mysql-workbench/ ?
Offline
It seems that the python3 interpreter is used. Somewhere in the code you'll have to replace calls to "python" with calls to "python2".
Edit: You should use the AUR package.
Are you using an AUR package https://aur.archlinux.org/packages/mysql-workbench/ ?
I tried to use the AUR package. But I got a strange error in compile. A kind of loop that spent so much time and, when the script gaves up, returned something like "Error in compile. Aborting".
EDIT:
In the AUR's comments, it seems really a bug in Python. Thanks to Feng-Huang to post a compiled version. I'm still testing, it looks ok until now. This is him (or her) comment:
Comentário de Feng-Huang
2013-04-16 18:20
x86_64 generic built in clean chroot : https://drive.google.com/folderview?id= … sp=sharing
Last edited by Uchiha (2013-05-05 13:38:23)
Linux user #519886
Offline