Не собирается dev-db/mysql-workbench
N0rt0N 24 марта, 2011 - 16:02
Ребята, помогите советом. Ставлю из портажей сабж, в процессе компиляции ошибка:
include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I../../../library/base -I../../../generated -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DUNIV_LINUX -DUNIV_LINUX -I -DENABLE_LUA_MODULES -DENABLE_PYTHON_MODULES -O2 -march=i686 -pipe -Wextra -Wall -Wno-unused -Wno-deprecated -DTIXML_USE_STL=1 -MT grtpp_grt.lo -MD -MP -MF .deps/grtpp_grt.Tpo -c grtpp_grt.cpp -fPIC -DPIC -o .libs/grtpp_grt.o In file included from grtpp_module_python.h:26, from grtpp_shell_python.h:25, from grtpp_grt.cpp:22: python_context.h:30:21: error: Python.h: No such file or directory In file included from grtpp_module_python.h:26, from grtpp_shell_python.h:25, from grtpp_grt.cpp:22: python_context.h:51: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:51: error: expected ';' before '*' token python_context.h:58: error: expected ')' before '*' token python_context.h:70: error: declaration of 'operator=' as non-function python_context.h:70: error: expected ';' before '(' token python_context.h:79: error: expected ';' before 'operator' python_context.h:84: error: expected type-specifier before 'PyObject' python_context.h:89: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:89: error: expected ';' before '*' token python_context.h:93: error: expected ';' before '}' token python_context.h: In constructor 'grt::AutoPyObject::AutoPyObject()': python_context.h:54: error: class 'grt::AutoPyObject' does not have any field named 'object' python_context.h: In destructor 'grt::AutoPyObject::~AutoPyObject()': python_context.h:67: error: 'object' was not declared in this scope python_context.h:67: error: 'Py_XDECREF' was not declared in this scope python_context.h: In member function 'grt::AutoPyObject::operator bool()': python_context.h:81: error: 'object' was not declared in this scope python_context.h: At global scope: python_context.h:104: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:104: error: expected ';' before '*' token python_context.h:105: error: 'PyObject' has not been declared python_context.h:110: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:110: error: expected ';' before '*' token python_context.h:111: error: 'PyObject' has not been declared python_context.h:112: error: 'PyObject' has not been declared python_context.h:113: error: 'PyObject' has not been declared python_context.h:121: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:121: error: expected ';' before '*' token python_context.h:123: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:123: error: expected ';' before '*' token python_context.h:125: error: ISO C++ forbids declaration of 'PyObject' with no type python_context.h:125: error: expected ';' before '*' token python_context.h:126: error: 'PyObject' has not been declared python_context.h:159: error: 'PyObject' has not been declared python_context.h:174: error: 'PyGILState_STATE' does not name a type python_context.h: In constructor 'grt::WillEnterPython::WillEnterPython()': python_context.h:177: error: class 'grt::WillEnterPython' does not have any field named 'state' python_context.h:177: error: 'PyGILState_Ensure' was not declared in this scope python_context.h: In destructor 'grt::WillEnterPython::~WillEnterPython()': python_context.h:185: error: 'state' was not declared in this scope python_context.h:185: error: 'PyGILState_Release' was not declared in this scope python_context.h: At global scope: python_context.h:193: error: ISO C++ forbids declaration of 'PyThreadState' with no type python_context.h:193: error: expected ';' before '*' token python_context.h: In constructor 'grt::WillLeavePython::WillLeavePython()': python_context.h:196: error: class 'grt::WillLeavePython' does not have any field named 'save' python_context.h:196: error: 'PyEval_SaveThread' was not declared in this scope python_context.h: In destructor 'grt::WillLeavePython::~WillLeavePython()': python_context.h:202: error: 'save' was not declared in this scope python_context.h:202: error: 'PyEval_RestoreThread' was not declared in this scope In file included from grtpp_shell_python.h:25, from grtpp_grt.cpp:22: grtpp_module_python.h: At global scope: grtpp_module_python.h:38: error: 'PyObject' has not been declared grtpp_module_python.h:41: error: 'PyObject' has not been declared grtpp_module_python.h:41: error: 'PyObject' has not been declared grtpp_module_python.h:41: error: 'PyObject' has not been declared grtpp_module_python.h:44: error: ISO C++ forbids declaration of 'PyObject' with no type grtpp_module_python.h:44: error: expected ';' before '*' token grtpp_module_python.h:46: error: 'PyObject' has not been declared make[4]: *** [grtpp_grt.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/grtpp_helper.Tpo .deps/grtpp_helper.Plo make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.33/work/mysql-workbench-gpl-5.2.33-src/library/grt/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.33/work/mysql-workbench-gpl-5.2.33-src/library/grt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.33/work/mysql-workbench-gpl-5.2.33-src/library' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.33/work/mysql-workbench-gpl-5.2.33-src' make: *** [all] Error 2 emake failed * ERROR: dev-db/mysql-workbench-5.2.33 failed (compile phase): * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3608: Called gnome2_src_compile * environment, line 2756: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =dev-db/mysql-workbench-5.2.33', * the complete build log and the output of 'emerge -pqv =dev-db/mysql-workbench-5.2.33'. * The complete build log is located at '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/temp/environment'. * S: '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/work/mysql-workbench-gpl-5.2.33-src' >>> Failed to emerge dev-db/mysql-workbench-5.2.33, Log file: >>> '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/temp/build.log' * Messages for package dev-db/mysql-workbench-5.2.33: * ERROR: dev-db/mysql-workbench-5.2.33 failed (compile phase): * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3608: Called gnome2_src_compile * environment, line 2756: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =dev-db/mysql-workbench-5.2.33', * the complete build log and the output of 'emerge -pqv =dev-db/mysql-workbench-5.2.33'. * The complete build log is located at '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/temp/environment'. * S: '/var/tmp/portage/dev-db/mysql-workbench-5.2.33/work/mysql-workbench-gpl-5.2.33-src'
Пытался разобраться, но так и не понял, чего не хватает.
Заранее хотел спросить, если не получится скомпилить этот пакет, может есть что-то аналогичное?
Нужно чтобы можно было рисовать структуру БД, и была возможность потом экспортировать готовый sql-файл БД. Короче средство для построения DFD-диаграмм, и сразу генерация sql-кода.
»
- Для комментирования войдите или зарегистрируйтесь