You are not logged in.
Hello I am attempting to compile MySQL Workbench 5.2.29 but is having an issue finding Python.h. I know for a fact that both python2 and python3 have Python.h. I admit I have't compiled many programs myself so I'm hoping this is just my ignorance on how the process works any ideas?
./../../backend/wbpublic/ -Wextra -Wall -Wno-unused -Wno-deprecated -ggdb3 -DENABLE_DEBUG -DDEBUG -DTIXML_USE_STL=1 -MT mforms_wrap.lo -MD -MP -MF .deps/mforms_wrap.Tpo -c mforms_wrap.cxx -fPIC -DPIC -o .libs/mforms_wrap.o
mforms_wrap.cxx:129:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[4]: *** [mforms_wrap.lo] Error 1
make[4]: Leaving directory `/usr/local/home/ghost/downloads/mysql-workbench-gpl-5.2.29-src/library/forms/swig'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/home/ghost/downloads/mysql-workbench-gpl-5.2.29-src/library/forms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/home/ghost/downloads/mysql-workbench-gpl-5.2.29-src/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/home/ghost/downloads/mysql-workbench-gpl-5.2.29-src'
make: *** [all] Error 2
and...
locate Python.h
/usr/include/python2.7/Python.h
/usr/include/python3.1/Python.h
How do I make it known where to find Python.h?
Thanks!
Last edited by GhostDevil (2010-11-18 16:20:33)
Offline
we have mysql-workbench in community and it has even a patch for python27.
use abs to get the build sources
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks I see that... this was more of a learning experience, as I also compiled mysql myself. I should have made that clear and apologize. But something I didn't think about was looking at the PKGBUILD etc... for a possible answer
Offline
Looking at the files package database answered my question. Basically the compile failed because of python3 and editing the configure.in to use python2 fixed the issue and I was able to compile and install without issue.
Offline