From f32956c1d6b473c80512c5ad82754ce090524a02 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 8 Aug 2013 13:07:05 +0200 Subject: [PATCH] mysql-python: add dependency on mysql * fails without mysql_config: ERROR: Function failed: do_compile (log file is located at mysql-python/1.2.4-r0/temp/log.do_compile.29833) ERROR: Logfile of failure stored in: mysql-python/1.2.4-r0/temp/log.do_compile.29833 Log data follows: | DEBUG: Executing shell function do_compile | sh: 1: mysql_config: not found | Traceback (most recent call last): | File "setup.py", line 18, in | metadata, options = get_config() | File "mysql-python/1.2.4-r0/MySQL-python-1.2.4/setup_posix.py", line 43, in get_config | libs = mysql_config("libs_r") | File "mysql-python/1.2.4-r0/MySQL-python-1.2.4/setup_posix.py", line 25, in mysql_config | raise EnvironmentError("%s not found" % (mysql_config.path,)) | EnvironmentError: mysql_config not found | ERROR: python setup.py build_ext execution failed. | ERROR: Function failed: do_compile (log file is located at mysql-python/1.2.4-r0/temp/log.do_compile.29833) NOTE: recipe mysql-python-1.2.4-r0: task do_compile: Failed ERROR: Task 6 (meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb, do_compile) failed with exit code '1' Signed-off-by: Martin Jansa --- meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb b/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb index 37ad21c8e7..678f17c06e 100644 --- a/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb +++ b/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb @@ -4,6 +4,8 @@ SECTION = "devel/python" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "mysql5" + PR = "r0" SRCNAME = "MySQL-python"